diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-11-23 00:27:54 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-11-23 00:27:54 +0000 |
commit | 38a7ce4b44b4067f57a7a63f2aec8fa97eb46162 (patch) | |
tree | 8043e26b89bfb408dc0f8a0658a48575cd3fd941 | |
parent | 86e3c56bd7919f232b24d76916829f037d2b82f6 (diff) | |
download | gdb-38a7ce4b44b4067f57a7a63f2aec8fa97eb46162.zip gdb-38a7ce4b44b4067f57a7a63f2aec8fa97eb46162.tar.gz gdb-38a7ce4b44b4067f57a7a63f2aec8fa97eb46162.tar.bz2 |
2003-11-22 Andrew Cagney <cagney@redhat.com>
* frame.h (deprecated_set_frame_next_hack): Delete declaration.
(deprecated_set_frame_prev_hack): Delete declaration.
* frame.c (deprecated_set_frame_next_hack): Delete function.
(deprecated_set_frame_prev_hack): Delete function.
* mcore-tdep.c (analyze_dummy_frame): Delete calls to
"deprecated_set_frame_next_hack" and
"deprecated_set_frame_prev_hack".
* mn10300-tdep.c (analyze_dummy_frame): Ditto.
-rw-r--r-- | gdb/ChangeLog | 11 | ||||
-rw-r--r-- | gdb/frame.c | 7 | ||||
-rw-r--r-- | gdb/frame.h | 8 | ||||
-rw-r--r-- | gdb/mcore-tdep.c | 2 | ||||
-rw-r--r-- | gdb/mn10300-tdep.c | 2 |
5 files changed, 10 insertions, 20 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7558aba..2120ad1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,14 @@ 2003-11-22 Andrew Cagney <cagney@redhat.com> + * frame.h (deprecated_set_frame_next_hack): Delete declaration. + (deprecated_set_frame_prev_hack): Delete declaration. + * frame.c (deprecated_set_frame_next_hack): Delete function. + (deprecated_set_frame_prev_hack): Delete function. + * mcore-tdep.c (analyze_dummy_frame): Delete calls to + "deprecated_set_frame_next_hack" and + "deprecated_set_frame_prev_hack". + * mn10300-tdep.c (analyze_dummy_frame): Ditto. + * mips-tdep.c (mips_register_convertible): Delete function. (mips_register_convert_to_virtual): Delete function. (mips_register_convert_to_raw): Delete function. @@ -10,7 +19,7 @@ 32/64 cooked to raw register conversions. * frame.c (deprecated_get_frame_context): Delete function. - (deprecated_set_frame_prev_hack): Delete function. + (deprecated_set_frame_context): Delete function. (struct frame_info): Delete member "context". * frame.h (deprecated_get_frame_context): Delete declaration. (deprecated_set_frame_context): Delete declaration. diff --git a/gdb/frame.c b/gdb/frame.c index 33066602..1b3d9bc 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -2237,13 +2237,6 @@ 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; -} - struct frame_info * deprecated_frame_xmalloc (void) { diff --git a/gdb/frame.h b/gdb/frame.h index 00975f3..3cde00b 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -730,14 +730,6 @@ extern struct frame_info *deprecated_frame_xmalloc (void); extern struct frame_info *deprecated_frame_xmalloc_with_cleanup (long sizeof_saved_regs, long sizeof_extra_info); -/* FIXME: cagney/2003-01-07: These are just nasty. Code shouldn't be - doing this. I suspect it dates back to the days when every field - of an allocated structure was explicitly initialized. */ -extern void deprecated_set_frame_next_hack (struct frame_info *fi, - struct frame_info *next); -extern void deprecated_set_frame_prev_hack (struct frame_info *fi, - struct frame_info *prev); - /* Return non-zero if the architecture is relying on legacy frame code. */ extern int legacy_frame_p (struct gdbarch *gdbarch); diff --git a/gdb/mcore-tdep.c b/gdb/mcore-tdep.c index 0977984..af1900a 100644 --- a/gdb/mcore-tdep.c +++ b/gdb/mcore-tdep.c @@ -259,8 +259,6 @@ analyze_dummy_frame (CORE_ADDR pc, CORE_ADDR frame) deprecated_set_frame_extra_info_hack (dummy, extra_info); } - 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); get_frame_extra_info (dummy)->status = 0; diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c index 42c54fc..9f62e8a 100644 --- a/gdb/mn10300-tdep.c +++ b/gdb/mn10300-tdep.c @@ -163,8 +163,6 @@ 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); } - 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); get_frame_extra_info (dummy)->status = 0; |