summaryrefslogtreecommitdiff
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
commit058532af967cdd34ad06b3f00d12fae17ba9d473 (patch)
tree92ce1f645b5c66cfdd094229a68ded70a8d25f00 /gdb/breakpoint.h
parent6e49869270218f545417cf521c0d7cb5ceffc26b (diff)
downloadgdb-058532af967cdd34ad06b3f00d12fae17ba9d473.tar.gz
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 226703b5938..3abdca74690 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);