diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-05-08 20:48:52 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-05-08 20:48:52 +0000 |
commit | 58d28df87ebbab754b83643ca128cb319366c935 (patch) | |
tree | a70678ab93370f189c5c07933724579c4e730877 /gdb/ns32k-tdep.c | |
parent | e4a2df64e7997f29444053d0747f09e843e4a4e9 (diff) | |
download | fsf-binutils-gdb-58d28df87ebbab754b83643ca128cb319366c935.zip fsf-binutils-gdb-58d28df87ebbab754b83643ca128cb319366c935.tar.gz fsf-binutils-gdb-58d28df87ebbab754b83643ca128cb319366c935.tar.bz2 |
2004-05-08 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* inferior.h (PUSH_DUMMY_FRAME): Delete macro.
* infcall.c (call_function_by_hand): Eliminate call to
DEPRECATED_PUSH_DUMMY_FRAME.
* ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated
push_dummy_frame.
(ns32k_push_dummy_frame): Delete function.
Diffstat (limited to 'gdb/ns32k-tdep.c')
-rw-r--r-- | gdb/ns32k-tdep.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/ns32k-tdep.c b/gdb/ns32k-tdep.c index 1019b41..2bfeb3a 100644 --- a/gdb/ns32k-tdep.c +++ b/gdb/ns32k-tdep.c @@ -399,22 +399,6 @@ ns32k_frame_init_saved_regs (struct frame_info *frame) } static void -ns32k_push_dummy_frame (void) -{ - CORE_ADDR sp = read_register (SP_REGNUM); - int regnum; - - sp = push_word (sp, read_register (PC_REGNUM)); - sp = push_word (sp, read_register (DEPRECATED_FP_REGNUM)); - write_register (DEPRECATED_FP_REGNUM, sp); - - for (regnum = 0; regnum < 8; regnum++) - sp = push_word (sp, read_register (regnum)); - - write_register (SP_REGNUM, sp); -} - -static void ns32k_pop_frame (void) { struct frame_info *frame = get_current_frame (); @@ -574,7 +558,6 @@ ns32k_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_deprecated_store_return_value (gdbarch, ns32k_store_return_value); /* Call dummy info */ - set_gdbarch_deprecated_push_dummy_frame (gdbarch, ns32k_push_dummy_frame); set_gdbarch_deprecated_pop_frame (gdbarch, ns32k_pop_frame); set_gdbarch_call_dummy_location (gdbarch, ON_STACK); set_gdbarch_deprecated_call_dummy_words (gdbarch, ns32k_call_dummy_words); |