diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-04 13:55:30 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-04 13:55:30 +0000 |
commit | cfd05caee2415f38c78ed4074f76493a68611a7b (patch) | |
tree | 114e157f5c94e532e0b4518537423263b76a88c0 /gdb/frame.h | |
parent | c16503a3889caa31f3bb8eb247d245dbe5528b39 (diff) | |
download | gdb-cfd05caee2415f38c78ed4074f76493a68611a7b.tar.gz |
2003-01-04 Andrew Cagney <ac131313@redhat.com>
* frame.c (deprecated_frame_xmalloc): New function.
(deprecated_set_frame_saved_regs_hack): New function.
(deprecated_set_frame_extra_info_hack): New function.
* frame.h (deprecated_frame_xmalloc): Declare.
(deprecated_set_frame_saved_regs_hack): Declare.
(deprecated_set_frame_extra_info_hack): Declare.
Diffstat (limited to 'gdb/frame.h')
-rw-r--r-- | gdb/frame.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gdb/frame.h b/gdb/frame.h index c9c56476bc4..283a968bb5b 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -674,4 +674,23 @@ extern void deprecated_update_frame_pc_hack (struct frame_info *frame, extern void deprecated_update_frame_base_hack (struct frame_info *frame, CORE_ADDR base); +/* FIXME: cagney/2003-01-04: Explicitly set the frame's saved_regs + and/or extra_info. Target code is allocating a fake frame and than + initializing that to get around the problem of, when creating the + inner most frame, there is no where to cache information such as + the prologue analysis. This is fixed by the new unwind mechanism - + even the inner most frame has somewhere to store things like the + prolog analysis (or at least will once the frame overhaul is + finished). */ +extern void deprecated_set_frame_saved_regs_hack (struct frame_info *frame, + CORE_ADDR *saved_regs); +extern void deprecated_set_frame_extra_info_hack (struct frame_info *frame, + struct frame_extra_info *extra_info); + +/* FIXME: cagney/2003-01-04: Allocate a frame from the heap (rather + than the frame obstack). Targets do this as a way of saving the + prologue analysis from the inner most frame before that frame has + been created. By always creating a frame, this problem goes away. */ +extern struct frame_info *deprecated_frame_xmalloc (void); + #endif /* !defined (FRAME_H) */ |