diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-06 21:50:25 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-06 21:50:25 +0000 |
commit | f6c609c4c2bb326e580c9f533bd2aa0e9d583556 (patch) | |
tree | 7f5974da7d3a38c4ed7430a947fd61c165eec113 /gdb/frame.h | |
parent | 84dc46cbdb5a9c4ca576b8768a2876e9551199a5 (diff) | |
download | gdb-f6c609c4c2bb326e580c9f533bd2aa0e9d583556.zip gdb-f6c609c4c2bb326e580c9f533bd2aa0e9d583556.tar.gz gdb-f6c609c4c2bb326e580c9f533bd2aa0e9d583556.tar.bz2 |
2003-01-06 Andrew Cagney <ac131313@redhat.com>
* frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
* frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
* arm-tdep.c (arm_frame_chain): Allocate caller_fi using
deprecated_frame_xmalloc_with_cleanup.
* m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
deprecated_frame_xmalloc.
* mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
* mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
Diffstat (limited to 'gdb/frame.h')
-rw-r--r-- | gdb/frame.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/frame.h b/gdb/frame.h index 21ef137..f593d00 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -684,4 +684,13 @@ extern void deprecated_set_frame_extra_info_hack (struct frame_info *frame, been created. By always creating a frame, this problem goes away. */ extern struct frame_info *deprecated_frame_xmalloc (void); +/* FIXME: cagney/2003-01-05: Allocate a frame, along with the + saved_regs and extra_info. Set up cleanups for all three. Same as + for deprecated_frame_xmalloc, targets are calling this when + creating a scratch `struct frame_info'. The frame overhaul makes + this unnecessary since all frame queries are parameterized with a + common cache parameter and a frame. */ +extern struct frame_info *deprecated_frame_xmalloc_with_cleanup (long sizeof_saved_regs, + long sizeof_extra_info); + #endif /* !defined (FRAME_H) */ |