aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-12-18 18:03:42 +0000
committerAndrew Cagney <cagney@redhat.com>2002-12-18 18:03:42 +0000
commit2f1071075bfd131063329519e606af5571c412e7 (patch)
tree194f26bf71bbb1ba78d88c57287607cbf7643cf6 /gdb/frame.h
parent0bc4911d08debd15b1a0fda7dd4cdf89ce6e0b2a (diff)
downloadgdb-2f1071075bfd131063329519e606af5571c412e7.zip
gdb-2f1071075bfd131063329519e606af5571c412e7.tar.gz
gdb-2f1071075bfd131063329519e606af5571c412e7.tar.bz2
2002-12-18 Andrew Cagney <ac131313@redhat.com>
* frame.c (deprecated_update_current_frame_pc_hack): Replace deprecated_update_current_frame_pc_hack. (deprecated_update_frame_base_hack): New function. * frame.h (deprecated_update_frame_pc_hack): Replace (deprecated_update_frame_base_hack): Declare. * infrun.c (normal_stop): Update.
Diffstat (limited to 'gdb/frame.h')
-rw-r--r--gdb/frame.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/gdb/frame.h b/gdb/frame.h
index 234c281..c9c5647 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -663,6 +663,15 @@ extern CORE_ADDR *get_frame_saved_regs (struct frame_info *);
/* FIXME: cagney/2002-12-06: Has the PC in the current frame changed?
"infrun.c", Thanks to DECR_PC_AFTER_BREAK, can change the PC after
the initial frame create. This puts things back in sync. */
-extern void deprecated_update_current_frame_pc_hack (CORE_ADDR pc);
+extern void deprecated_update_frame_pc_hack (struct frame_info *frame,
+ CORE_ADDR pc);
+
+/* FIXME: cagney/2002-12-18: Has the frame's base changed? Or to be
+ more exact, whas that initial guess at the frame's base as returned
+ by read_fp() wrong. If it was, fix it. This shouldn't be
+ necessary since the code should be getting the frame's base correct
+ from the outset. */
+extern void deprecated_update_frame_base_hack (struct frame_info *frame,
+ CORE_ADDR base);
#endif /* !defined (FRAME_H) */