diff options
author | gary <gary> | 2011-10-12 15:43:47 +0000 |
---|---|---|
committer | gary <gary> | 2011-10-12 15:43:47 +0000 |
commit | 22c9237a9e26227ee76bf26d6e56ade8bfc5c97c (patch) | |
tree | 2756ae0628cd40c612c48a88cc2e73b4769766fe /gdb/breakpoint.h | |
parent | 9dc2bfc152eb9f97b6bbaa7525b4c9874e105a50 (diff) | |
download | gdb-22c9237a9e26227ee76bf26d6e56ade8bfc5c97c.tar.gz |
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.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r-- | gdb/breakpoint.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 5e5d1b9028d..c2116e2fdf9 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -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) */ |