diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-05-08 21:52:50 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-05-08 21:52:50 +0000 |
commit | 289541793e83d187b77c4897b30057ca90baeebd (patch) | |
tree | cb3c3430747e7a33830b1fb844dc2fc528b041f3 /gdb/gdbarch.c | |
parent | 434b87dd7b401286a3ebddac38846833d419e1df (diff) | |
download | gdb-289541793e83d187b77c4897b30057ca90baeebd.zip gdb-289541793e83d187b77c4897b30057ca90baeebd.tar.gz gdb-289541793e83d187b77c4897b30057ca90baeebd.tar.bz2 |
2004-05-08 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
references to DEPRECATED_FIX_CALL_DUMMY.
2004-05-08 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_FIX_CALL_DUMMY): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* ns32k-tdep.c (ns32k_gdbarch_init): Do not set
deprecated_fix_call_dummy.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* infcall.c (call_function_by_hand): Do not call
DEPRECATED_FIX_CALL_DUMMY.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 6e41a2a..df0a03e 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -162,7 +162,6 @@ struct gdbarch gdbarch_deprecated_dummy_write_sp_ftype *deprecated_dummy_write_sp; int deprecated_register_size; int call_dummy_location; - gdbarch_deprecated_fix_call_dummy_ftype *deprecated_fix_call_dummy; gdbarch_push_dummy_code_ftype *push_dummy_code; gdbarch_deprecated_do_registers_info_ftype *deprecated_do_registers_info; gdbarch_print_registers_info_ftype *print_registers_info; @@ -316,7 +315,6 @@ struct gdbarch startup_gdbarch = 0, /* deprecated_dummy_write_sp */ 0, /* deprecated_register_size */ 0, /* call_dummy_location */ - 0, /* deprecated_fix_call_dummy */ 0, /* push_dummy_code */ 0, /* deprecated_do_registers_info */ default_print_registers_info, /* print_registers_info */ @@ -605,7 +603,6 @@ verify_gdbarch (struct gdbarch *current_gdbarch) /* Skip verify of deprecated_push_return_address, has predicate */ /* Skip verify of deprecated_dummy_write_sp, has predicate */ /* Skip verify of call_dummy_location, invalid_p == 0 */ - /* Skip verify of deprecated_fix_call_dummy, has predicate */ /* Skip verify of push_dummy_code, has predicate */ /* Skip verify of deprecated_do_registers_info, has predicate */ /* Skip verify of print_registers_info, invalid_p == 0 */ @@ -973,25 +970,6 @@ gdbarch_dump (struct gdbarch *current_gdbarch, struct ui_file *file) (long) current_gdbarch->deprecated_extract_struct_value_address /*DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS ()*/); #endif -#ifdef DEPRECATED_FIX_CALL_DUMMY_P - fprintf_unfiltered (file, - "gdbarch_dump: %s # %s\n", - "DEPRECATED_FIX_CALL_DUMMY_P()", - XSTRING (DEPRECATED_FIX_CALL_DUMMY_P ())); - fprintf_unfiltered (file, - "gdbarch_dump: DEPRECATED_FIX_CALL_DUMMY_P() = %d\n", - DEPRECATED_FIX_CALL_DUMMY_P ()); -#endif -#ifdef DEPRECATED_FIX_CALL_DUMMY - fprintf_unfiltered (file, - "gdbarch_dump: %s # %s\n", - "DEPRECATED_FIX_CALL_DUMMY(dummy, pc, fun, nargs, args, type, gcc_p)", - XSTRING (DEPRECATED_FIX_CALL_DUMMY (dummy, pc, fun, nargs, args, type, gcc_p))); - fprintf_unfiltered (file, - "gdbarch_dump: DEPRECATED_FIX_CALL_DUMMY = <0x%08lx>\n", - (long) current_gdbarch->deprecated_fix_call_dummy - /*DEPRECATED_FIX_CALL_DUMMY ()*/); -#endif #ifdef DEPRECATED_FP_REGNUM fprintf_unfiltered (file, "gdbarch_dump: DEPRECATED_FP_REGNUM # %s\n", @@ -3217,30 +3195,6 @@ set_gdbarch_call_dummy_location (struct gdbarch *gdbarch, } int -gdbarch_deprecated_fix_call_dummy_p (struct gdbarch *gdbarch) -{ - gdb_assert (gdbarch != NULL); - return gdbarch->deprecated_fix_call_dummy != NULL; -} - -void -gdbarch_deprecated_fix_call_dummy (struct gdbarch *gdbarch, char *dummy, CORE_ADDR pc, CORE_ADDR fun, int nargs, struct value **args, struct type *type, int gcc_p) -{ - gdb_assert (gdbarch != NULL); - gdb_assert (gdbarch->deprecated_fix_call_dummy != NULL); - if (gdbarch_debug >= 2) - fprintf_unfiltered (gdb_stdlog, "gdbarch_deprecated_fix_call_dummy called\n"); - gdbarch->deprecated_fix_call_dummy (dummy, pc, fun, nargs, args, type, gcc_p); -} - -void -set_gdbarch_deprecated_fix_call_dummy (struct gdbarch *gdbarch, - gdbarch_deprecated_fix_call_dummy_ftype deprecated_fix_call_dummy) -{ - gdbarch->deprecated_fix_call_dummy = deprecated_fix_call_dummy; -} - -int gdbarch_push_dummy_code_p (struct gdbarch *gdbarch) { gdb_assert (gdbarch != NULL); |