aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-10 15:36:26 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-10 15:36:26 +0000
commitbf1e52be950efda95a655d1e3d8d475884043174 (patch)
treea16bde35f33add55eea2c5d362771f88362856d4 /gdb/breakpoint.h
parent32c27eed9c852e65f2dea75a38991f41b693dbd6 (diff)
downloadgdb-bf1e52be950efda95a655d1e3d8d475884043174.zip
gdb-bf1e52be950efda95a655d1e3d8d475884043174.tar.gz
gdb-bf1e52be950efda95a655d1e3d8d475884043174.tar.bz2
2002-11-10 Andrew Cagney <ac131313@redhat.com>
* breakpoint.h (deprecated_frame_in_dummy): Rename frame_in_dummy. * stack.c (print_frame_info_base): Update. (print_frame_info_base, frame_info): Update. * sparc-tdep.c (sparc_init_extra_frame_info): Update. (sparc_frame_saved_pc): Update. * ada-lang.c (find_printable_frame): Update. * breakpoint.c (deprecated_frame_in_dummy): Update.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 226703b..3abdca7 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -528,7 +528,16 @@ extern enum breakpoint_here breakpoint_here_p (CORE_ADDR);
extern int breakpoint_inserted_here_p (CORE_ADDR);
-extern int frame_in_dummy (struct frame_info *);
+/* FIXME: cagney/2002-11-10: The current [generic] dummy-frame code
+ implements a functional superset of this function. The only reason
+ it hasn't been removed is because some architectures still don't
+ use the new framework. Once they have been fixed, this can go. */
+/* FIXME: cagney/2002-11-10: There should be a function (hmm,
+ something like, enum { NORMAL_FRAME, DUMMY_FRAME, SIGTRAMP_FRAME }
+ get_frame_type() ...) that the caller can use to determine the
+ frame's type. This could replace this function, PC_IN_CALL_DUMMY,
+ and fi->signal_handler_caller. */
+extern int deprecated_frame_in_dummy (struct frame_info *);
extern int breakpoint_thread_match (CORE_ADDR, ptid_t);