aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorGary Benson <gary@redhat.com>2011-10-12 15:43:49 +0000
committerGary Benson <gary@redhat.com>2011-10-12 15:43:49 +0000
commit0574c78f39bf3ceccbd57bcd1b2973b683e8dd06 (patch)
tree04a74ddde9da91b87888422e69c59a8cf4bcf97c /gdb/breakpoint.h
parentecf8e7f5f6a88a2c180bca7d013f622e46d2b8ec (diff)
downloadgdb-0574c78f39bf3ceccbd57bcd1b2973b683e8dd06.zip
gdb-0574c78f39bf3ceccbd57bcd1b2973b683e8dd06.tar.gz
gdb-0574c78f39bf3ceccbd57bcd1b2973b683e8dd06.tar.bz2
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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 5e5d1b9..c2116e2 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) */