diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-04-02 23:20:50 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-04-02 23:20:50 +0000 |
commit | ddc135a4120b0abe7833c16c234e1f92ddedd9da (patch) | |
tree | 86214931a5f40195e2c8bcf0e3f10bfa1d7ed0b6 /gdb/gdbarch.c | |
parent | d15bfd3a43117017e919e0b1fc2bb09a7dd535fd (diff) | |
download | gdb-ddc135a4120b0abe7833c16c234e1f92ddedd9da.zip gdb-ddc135a4120b0abe7833c16c234e1f92ddedd9da.tar.gz gdb-ddc135a4120b0abe7833c16c234e1f92ddedd9da.tar.bz2 |
2004-04-02 Andrew Cagney <cagney@redhat.com>
* sh64-tdep.c (sh64_init_extra_frame_info): Replace
DEPRECATED_CALL_DUMMY_LENGTH with 0, simplify.
* dummy-frame.h: Delete out-of-date comments.
* gdbarch.sh (DEPRECATED_CALL_DUMMY_LENGTH): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 19462ca..ff1d687 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -165,7 +165,6 @@ struct gdbarch int call_dummy_location; CORE_ADDR deprecated_call_dummy_start_offset; CORE_ADDR deprecated_call_dummy_breakpoint_offset; - int deprecated_call_dummy_length; LONGEST * deprecated_call_dummy_words; int deprecated_sizeof_call_dummy_words; gdbarch_deprecated_fix_call_dummy_ftype *deprecated_fix_call_dummy; @@ -331,7 +330,6 @@ struct gdbarch startup_gdbarch = 0, /* call_dummy_location */ 0, /* deprecated_call_dummy_start_offset */ 0, /* deprecated_call_dummy_breakpoint_offset */ - 0, /* deprecated_call_dummy_length */ 0, /* deprecated_call_dummy_words */ 0, /* deprecated_sizeof_call_dummy_words */ 0, /* deprecated_fix_call_dummy */ @@ -957,14 +955,6 @@ gdbarch_dump (struct gdbarch *current_gdbarch, struct ui_file *file) "gdbarch_dump: DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET = %ld\n", (long) DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET); #endif -#ifdef DEPRECATED_CALL_DUMMY_LENGTH - fprintf_unfiltered (file, - "gdbarch_dump: DEPRECATED_CALL_DUMMY_LENGTH # %s\n", - XSTRING (DEPRECATED_CALL_DUMMY_LENGTH)); - fprintf_unfiltered (file, - "gdbarch_dump: DEPRECATED_CALL_DUMMY_LENGTH = %d\n", - DEPRECATED_CALL_DUMMY_LENGTH); -#endif #ifdef DEPRECATED_CALL_DUMMY_START_OFFSET fprintf_unfiltered (file, "gdbarch_dump: DEPRECATED_CALL_DUMMY_START_OFFSET # %s\n", @@ -3440,22 +3430,6 @@ set_gdbarch_deprecated_call_dummy_breakpoint_offset (struct gdbarch *gdbarch, gdbarch->deprecated_call_dummy_breakpoint_offset = deprecated_call_dummy_breakpoint_offset; } -int -gdbarch_deprecated_call_dummy_length (struct gdbarch *gdbarch) -{ - gdb_assert (gdbarch != NULL); - if (gdbarch_debug >= 2) - fprintf_unfiltered (gdb_stdlog, "gdbarch_deprecated_call_dummy_length called\n"); - return gdbarch->deprecated_call_dummy_length; -} - -void -set_gdbarch_deprecated_call_dummy_length (struct gdbarch *gdbarch, - int deprecated_call_dummy_length) -{ - gdbarch->deprecated_call_dummy_length = deprecated_call_dummy_length; -} - LONGEST * gdbarch_deprecated_call_dummy_words (struct gdbarch *gdbarch) { |