diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-07 19:19:00 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-07 19:19:00 +0000 |
commit | 483d36b217bc77e99344ece84a7e70c1b3950f0e (patch) | |
tree | 44a045855d90b1cd1cf1ca4919ffc9d99e487353 /gdb/mn10300-tdep.c | |
parent | 14e91ac52e0e3a006e3a97f454eb630e5f64f075 (diff) | |
download | gdb-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/mn10300-tdep.c')
-rw-r--r-- | gdb/mn10300-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c index 185a483..f185fdf 100644 --- a/gdb/mn10300-tdep.c +++ b/gdb/mn10300-tdep.c @@ -159,8 +159,8 @@ analyze_dummy_frame (CORE_ADDR pc, CORE_ADDR frame) extra_info = XMALLOC (struct frame_extra_info); deprecated_set_frame_extra_info_hack (dummy, extra_info); } - dummy->next = NULL; - dummy->prev = NULL; + deprecated_set_frame_next_hack (dummy, NULL); + deprecated_set_frame_prev_hack (dummy, NULL); deprecated_update_frame_pc_hack (dummy, pc); deprecated_update_frame_base_hack (dummy, frame); dummy->extra_info->status = 0; |