aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-04 13:55:30 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-04 13:55:30 +0000
commitc8b8a898312e1f6781b35ab18d93c856e9e876bd (patch)
tree58667993ee4375583055e80d97174a1eb93e674c /gdb/frame.c
parent77afa6398a39cfe5da535c23c6c7c584c577081d (diff)
downloadgdb-c8b8a898312e1f6781b35ab18d93c856e9e876bd.zip
gdb-c8b8a898312e1f6781b35ab18d93c856e9e876bd.tar.gz
gdb-c8b8a898312e1f6781b35ab18d93c856e9e876bd.tar.bz2
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.c')
-rw-r--r--gdb/frame.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/gdb/frame.c b/gdb/frame.c
index ecdf408..97d6193 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -1311,6 +1311,29 @@ deprecated_update_frame_base_hack (struct frame_info *frame, CORE_ADDR base)
}
void
+deprecated_set_frame_saved_regs_hack (struct frame_info *frame,
+ CORE_ADDR *saved_regs)
+{
+ frame->saved_regs = saved_regs;
+}
+
+void
+deprecated_set_frame_extra_info_hack (struct frame_info *frame,
+ struct frame_extra_info *extra_info)
+{
+ frame->extra_info = extra_info;
+}
+
+struct frame_info *
+deprecated_frame_xmalloc (void)
+{
+ struct frame_info *frame = XMALLOC (struct frame_info);
+ memset (frame, 0, sizeof (struct frame_info));
+ return frame;
+}
+
+
+void
_initialize_frame (void)
{
obstack_init (&frame_cache_obstack);