2011-10-12 Gary Benson <gbenson@redhat.com>

* breakpoint.h (pc_at_non_inline_function): Declare.
	* breakpoint.c (is_non_inline_function,
	pc_at_non_inline_function): New functions.
	* infrun.c (handle_inferior_event): Don't call skip_inline_frames
	if the stop is at a location where functions cannot be inlined.
This commit is contained in:
Gary Benson
2011-10-12 15:43:49 +00:00
parent ecf8e7f5f6
commit 0574c78f39
4 changed files with 79 additions and 1 deletions

View File

@@ -1357,6 +1357,12 @@ extern void end_rbreak_breakpoints (void);
extern struct breakpoint *iterate_over_breakpoints (int (*) (struct breakpoint *,
void *), void *);
/* Nonzero if the specified PC cannot be a location where functions
have been inlined. */
extern int pc_at_non_inline_function (struct address_space *aspace,
CORE_ADDR pc);
extern int user_breakpoint_p (struct breakpoint *);
#endif /* !defined (BREAKPOINT_H) */