aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-07 19:19:00 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-07 19:19:00 +0000
commit483d36b217bc77e99344ece84a7e70c1b3950f0e (patch)
tree44a045855d90b1cd1cf1ca4919ffc9d99e487353 /gdb/frame.c
parent14e91ac52e0e3a006e3a97f454eb630e5f64f075 (diff)
downloadgdb-483d36b217bc77e99344ece84a7e70c1b3950f0e.zip
gdb-483d36b217bc77e99344ece84a7e70c1b3950f0e.tar.gz
gdb-483d36b217bc77e99344ece84a7e70c1b3950f0e.tar.bz2
2003-01-07 Andrew Cagney <cagney@redhat.com>
* frame.c (deprecated_set_frame_next_hack): New function. (deprecated_set_frame_prev_hack): New function. * frame.h (deprecated_set_frame_next_hack): Declare. (deprecated_set_frame_prev_hack): Declare. * mcore-tdep.c (analyze_dummy_frame): Use deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. * mn10300-tdep.c (analyze_dummy_frame): Ditto.
Diffstat (limited to 'gdb/frame.c')
-rw-r--r--gdb/frame.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/frame.c b/gdb/frame.c
index 443f067..f09a47b 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -1308,6 +1308,20 @@ deprecated_set_frame_extra_info_hack (struct frame_info *frame,
frame->extra_info = extra_info;
}
+void
+deprecated_set_frame_next_hack (struct frame_info *fi,
+ struct frame_info *next)
+{
+ fi->next = next;
+}
+
+void
+deprecated_set_frame_prev_hack (struct frame_info *fi,
+ struct frame_info *prev)
+{
+ fi->prev = prev;
+}
+
struct frame_info *
deprecated_frame_xmalloc (void)
{