diff options
-rw-r--r-- | gdb/ChangeLog | 18 | ||||
-rw-r--r-- | gdb/arch-utils.c | 7 | ||||
-rw-r--r-- | gdb/arch-utils.h | 4 | ||||
-rw-r--r-- | gdb/arm-linux-tdep.c | 17 | ||||
-rw-r--r-- | gdb/arm-tdep.c | 17 | ||||
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/gdbint.texinfo | 35 | ||||
-rw-r--r-- | gdb/gdbarch.c | 58 | ||||
-rw-r--r-- | gdb/gdbarch.h | 22 | ||||
-rwxr-xr-x | gdb/gdbarch.sh | 4 | ||||
-rw-r--r-- | gdb/mcore-tdep.c | 3 | ||||
-rw-r--r-- | gdb/mn10300-tdep.c | 3 | ||||
-rw-r--r-- | gdb/ns32k-tdep.c | 11 | ||||
-rw-r--r-- | gdb/sh64-tdep.c | 3 | ||||
-rw-r--r-- | gdb/v850-tdep.c | 3 | ||||
-rw-r--r-- | gdb/xstormy16-tdep.c | 3 |
16 files changed, 24 insertions, 188 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c0258bb..bac242f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,23 @@ 2004-05-08 Andrew Cagney <cagney@redhat.com> + * gdbarch.sh (DEPRECATED_CALL_DUMMY_WORDS) + (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Delete. + * gdbarch.h, gdbarch.c: Re-generate. + * arm-linux-tdep.c (arm_linux_call_dummy_words) + (arm_linux_init_abi): Do not set deprecated_call_dummy_words or + deprecated_sizeof_call_dummy_words. + * arm-tdep.c (arm_call_dummy_words, arm_gdbarch_init): Ditto. + * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto. + * v850-tdep.c (v850_gdbarch_init): Ditto. + * sh64-tdep.c (sh64_gdbarch_init): Ditto. + * ns32k-tdep.c (ns32k_call_dummy_words, ns32k_gdbarch_init): Ditto. + * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. + * mcore-tdep.c (mcore_gdbarch_init): Ditto. + * arch-utils.h (legacy_call_dummy_words) + (legacy_sizeof_call_dummy_words): Delete declarations. + * arch-utils.c (legacy_call_dummy_words) + (legacy_sizeof_call_dummy_words): Delete variables. + * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Delete. * gdbarch.h, gdbarch.c: Re-generate. * inferior.h (PUSH_DUMMY_FRAME): Delete macro. diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index c0e1912..9ea360e 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -120,13 +120,6 @@ generic_in_function_epilogue_p (struct gdbarch *gdbarch, CORE_ADDR pc) return 0; } -#if defined (CALL_DUMMY) -LONGEST legacy_call_dummy_words[] = CALL_DUMMY; -#else -LONGEST legacy_call_dummy_words[1]; -#endif -int legacy_sizeof_call_dummy_words = sizeof (legacy_call_dummy_words); - void generic_remote_translate_xfer_address (struct gdbarch *gdbarch, struct regcache *regcache, diff --git a/gdb/arch-utils.h b/gdb/arch-utils.h index 8f2e601..b636a1f 100644 --- a/gdb/arch-utils.h +++ b/gdb/arch-utils.h @@ -48,10 +48,6 @@ extern gdbarch_use_struct_convention_ftype always_use_struct_convention; language family, so that case is irrelevant for C. */ extern gdbarch_return_value_on_stack_ftype generic_return_value_on_stack_not; -/* Backward compatible call_dummy_words. */ -extern LONGEST legacy_call_dummy_words[]; -extern int legacy_sizeof_call_dummy_words; - /* Typical remote_translate_xfer_address */ extern gdbarch_remote_translate_xfer_address_ftype generic_remote_translate_xfer_address; diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c index 26b1a17..98dacca 100644 --- a/gdb/arm-linux-tdep.c +++ b/gdb/arm-linux-tdep.c @@ -44,20 +44,6 @@ static const char arm_linux_arm_le_breakpoint[] = { 0x01, 0x00, 0x9f, 0xef }; static const char arm_linux_arm_be_breakpoint[] = { 0xef, 0x9f, 0x00, 0x01 }; -/* DEPRECATED_CALL_DUMMY_WORDS: - This sequence of words is the instructions - - mov lr, pc - mov pc, r4 - swi bkpt_swi - - Note this is 12 bytes. */ - -LONGEST arm_linux_call_dummy_words[] = -{ - 0xe1a0e00f, 0xe1a0f004, 0xef9f001 -}; - /* Description of the longjmp buffer. */ #define ARM_LINUX_JB_ELEMENT_SIZE INT_REGISTER_SIZE #define ARM_LINUX_JB_PC 21 @@ -490,9 +476,6 @@ arm_linux_init_abi (struct gdbarch_info info, set_solib_svr4_fetch_link_map_offsets (gdbarch, arm_linux_svr4_fetch_link_map_offsets); - set_gdbarch_deprecated_call_dummy_words (gdbarch, arm_linux_call_dummy_words); - set_gdbarch_deprecated_sizeof_call_dummy_words (gdbarch, sizeof (arm_linux_call_dummy_words)); - /* The following two overrides shouldn't be needed. */ set_gdbarch_deprecated_extract_return_value (gdbarch, arm_linux_extract_return_value); set_gdbarch_deprecated_push_arguments (gdbarch, arm_linux_push_arguments); diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 4caecb7..6606ad1 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -1173,20 +1173,6 @@ arm_unwind_sp (struct gdbarch *gdbarch, struct frame_info *this_frame) return frame_unwind_register_unsigned (this_frame, ARM_SP_REGNUM); } -/* DEPRECATED_CALL_DUMMY_WORDS: - This sequence of words is the instructions - - mov lr,pc - mov pc,r4 - illegal - - Note this is 12 bytes. */ - -static LONGEST arm_call_dummy_words[] = -{ - 0xe1a0e00f, 0xe1a0f004, 0xe7ffdefe -}; - /* When arguments must be pushed onto the stack, they go on in reverse order. The code below implements a FILO (stack) to do this. */ @@ -2724,9 +2710,6 @@ arm_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) tdep->lowest_pc = 0x20; tdep->jb_pc = -1; /* Longjump support not enabled by default. */ - set_gdbarch_deprecated_call_dummy_words (gdbarch, arm_call_dummy_words); - set_gdbarch_deprecated_sizeof_call_dummy_words (gdbarch, 0); - set_gdbarch_push_dummy_call (gdbarch, arm_push_dummy_call); set_gdbarch_write_pc (gdbarch, arm_write_pc); diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 49a8485..8eab12d 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,6 +1,10 @@ 2004-05-08 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete + description of DEPRECATED_CALL_DUMMY_WORDS, + DEPRECATED_SIZEOF_CALL_DUMMY_WORDS, and CALL_DUMMY. + + * gdbint.texinfo (Target Architecture Definition): Delete description of DEPRECATED_PUSH_DUMMY_FRAME. * gdbint.texinfo (Target Architecture Definition): Delete diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index dc80183..7d2965d 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -3031,35 +3031,6 @@ Since the adjustment of a breakpoint may significantly alter a user's expectation, @value{GDBN} prints a warning when an adjusted breakpoint is initially set and each time that that breakpoint is hit. -@item DEPRECATED_CALL_DUMMY_WORDS -@findex DEPRECATED_CALL_DUMMY_WORDS -Pointer to an array of @code{LONGEST} words of data containing -host-byte-ordered @code{DEPRECATED_REGISTER_SIZE} sized values that -partially specify the sequence of instructions needed for an inferior -function call. - -Should be deprecated in favor of a macro that uses target-byte-ordered -data. - -This method has been replaced by @code{push_dummy_code} -(@pxref{push_dummy_code}). - -@item DEPRECATED_SIZEOF_CALL_DUMMY_WORDS -@findex DEPRECATED_SIZEOF_CALL_DUMMY_WORDS -The size of @code{DEPRECATED_CALL_DUMMY_WORDS}. This must return a -positive value. - -This method has been replaced by @code{push_dummy_code} -(@pxref{push_dummy_code}). - -@item CALL_DUMMY -@findex CALL_DUMMY -A static initializer for @code{DEPRECATED_CALL_DUMMY_WORDS}. -Deprecated. - -This method has been replaced by @code{push_dummy_code} -(@pxref{push_dummy_code}). - @item CALL_DUMMY_LOCATION @findex CALL_DUMMY_LOCATION See the file @file{inferior.h}. @@ -3700,10 +3671,8 @@ By default, the stack is grown sufficient to hold a frame-aligned (@pxref{frame_align}) breakpoint, @var{bp_addr} is set to the address reserved for that breakpoint, and @var{real_pc} set to @var{funaddr}. -This method replaces @code{DEPRECATED_CALL_DUMMY_WORDS}, -@code{DEPRECATED_SIZEOF_CALL_DUMMY_WORDS}, @code{CALL_DUMMY}, -@code{CALL_DUMMY_LOCATION}, @code{DEPRECATED_REGISTER_SIZE}, and -@code{DEPRECATED_FIX_CALL_DUMMY}. +This method replaces @code{CALL_DUMMY_LOCATION}, +@code{DEPRECATED_REGISTER_SIZE}, and @code{DEPRECATED_FIX_CALL_DUMMY}. @item DEPRECATED_REGISTER_BYTES @findex DEPRECATED_REGISTER_BYTES diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 140f332..6e41a2a 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -162,8 +162,6 @@ struct gdbarch gdbarch_deprecated_dummy_write_sp_ftype *deprecated_dummy_write_sp; int deprecated_register_size; int call_dummy_location; - LONGEST * deprecated_call_dummy_words; - int deprecated_sizeof_call_dummy_words; 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; @@ -318,8 +316,6 @@ struct gdbarch startup_gdbarch = 0, /* deprecated_dummy_write_sp */ 0, /* deprecated_register_size */ 0, /* call_dummy_location */ - 0, /* deprecated_call_dummy_words */ - 0, /* deprecated_sizeof_call_dummy_words */ 0, /* deprecated_fix_call_dummy */ 0, /* push_dummy_code */ 0, /* deprecated_do_registers_info */ @@ -470,8 +466,6 @@ gdbarch_alloc (const struct gdbarch_info *info, current_gdbarch->deprecated_register_virtual_size = generic_register_size; current_gdbarch->deprecated_fp_regnum = -1; current_gdbarch->call_dummy_location = AT_ENTRY_POINT; - current_gdbarch->deprecated_call_dummy_words = legacy_call_dummy_words; - current_gdbarch->deprecated_sizeof_call_dummy_words = legacy_sizeof_call_dummy_words; current_gdbarch->print_registers_info = default_print_registers_info; current_gdbarch->register_sim_regno = legacy_register_sim_regno; current_gdbarch->cannot_fetch_register = cannot_register_not; @@ -611,8 +605,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_call_dummy_words, invalid_p == 0 */ - /* Skip verify of deprecated_sizeof_call_dummy_words, 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 */ @@ -914,14 +906,6 @@ gdbarch_dump (struct gdbarch *current_gdbarch, struct ui_file *file) "gdbarch_dump: DECR_PC_AFTER_BREAK = %ld\n", (long) DECR_PC_AFTER_BREAK); #endif -#ifdef DEPRECATED_CALL_DUMMY_WORDS - fprintf_unfiltered (file, - "gdbarch_dump: DEPRECATED_CALL_DUMMY_WORDS # %s\n", - XSTRING (DEPRECATED_CALL_DUMMY_WORDS)); - fprintf_unfiltered (file, - "gdbarch_dump: DEPRECATED_CALL_DUMMY_WORDS = 0x%08lx\n", - (long) DEPRECATED_CALL_DUMMY_WORDS); -#endif #ifdef DEPRECATED_DO_REGISTERS_INFO_P fprintf_unfiltered (file, "gdbarch_dump: %s # %s\n", @@ -1504,14 +1488,6 @@ gdbarch_dump (struct gdbarch *current_gdbarch, struct ui_file *file) (long) current_gdbarch->deprecated_save_dummy_frame_tos /*DEPRECATED_SAVE_DUMMY_FRAME_TOS ()*/); #endif -#ifdef DEPRECATED_SIZEOF_CALL_DUMMY_WORDS - fprintf_unfiltered (file, - "gdbarch_dump: DEPRECATED_SIZEOF_CALL_DUMMY_WORDS # %s\n", - XSTRING (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS)); - fprintf_unfiltered (file, - "gdbarch_dump: DEPRECATED_SIZEOF_CALL_DUMMY_WORDS = %d\n", - DEPRECATED_SIZEOF_CALL_DUMMY_WORDS); -#endif #ifdef DEPRECATED_STACK_ALIGN_P fprintf_unfiltered (file, "gdbarch_dump: %s # %s\n", @@ -3240,40 +3216,6 @@ set_gdbarch_call_dummy_location (struct gdbarch *gdbarch, gdbarch->call_dummy_location = call_dummy_location; } -LONGEST * -gdbarch_deprecated_call_dummy_words (struct gdbarch *gdbarch) -{ - gdb_assert (gdbarch != NULL); - /* Skip verify of deprecated_call_dummy_words, invalid_p == 0 */ - if (gdbarch_debug >= 2) - fprintf_unfiltered (gdb_stdlog, "gdbarch_deprecated_call_dummy_words called\n"); - return gdbarch->deprecated_call_dummy_words; -} - -void -set_gdbarch_deprecated_call_dummy_words (struct gdbarch *gdbarch, - LONGEST * deprecated_call_dummy_words) -{ - gdbarch->deprecated_call_dummy_words = deprecated_call_dummy_words; -} - -int -gdbarch_deprecated_sizeof_call_dummy_words (struct gdbarch *gdbarch) -{ - gdb_assert (gdbarch != NULL); - /* Skip verify of deprecated_sizeof_call_dummy_words, invalid_p == 0 */ - if (gdbarch_debug >= 2) - fprintf_unfiltered (gdb_stdlog, "gdbarch_deprecated_sizeof_call_dummy_words called\n"); - return gdbarch->deprecated_sizeof_call_dummy_words; -} - -void -set_gdbarch_deprecated_sizeof_call_dummy_words (struct gdbarch *gdbarch, - int deprecated_sizeof_call_dummy_words) -{ - gdbarch->deprecated_sizeof_call_dummy_words = deprecated_sizeof_call_dummy_words; -} - int gdbarch_deprecated_fix_call_dummy_p (struct gdbarch *gdbarch) { diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 7fa6c07..f5ef8cb 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -827,28 +827,6 @@ extern void set_gdbarch_call_dummy_location (struct gdbarch *gdbarch, int call_d #define CALL_DUMMY_LOCATION (gdbarch_call_dummy_location (current_gdbarch)) #endif -/* DEPRECATED_CALL_DUMMY_WORDS can be deleted. */ - -extern LONGEST * gdbarch_deprecated_call_dummy_words (struct gdbarch *gdbarch); -extern void set_gdbarch_deprecated_call_dummy_words (struct gdbarch *gdbarch, LONGEST * deprecated_call_dummy_words); -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (DEPRECATED_CALL_DUMMY_WORDS) -#error "Non multi-arch definition of DEPRECATED_CALL_DUMMY_WORDS" -#endif -#if !defined (DEPRECATED_CALL_DUMMY_WORDS) -#define DEPRECATED_CALL_DUMMY_WORDS (gdbarch_deprecated_call_dummy_words (current_gdbarch)) -#endif - -/* Implement PUSH_DUMMY_CALL, then delete DEPRECATED_SIZEOF_CALL_DUMMY_WORDS. */ - -extern int gdbarch_deprecated_sizeof_call_dummy_words (struct gdbarch *gdbarch); -extern void set_gdbarch_deprecated_sizeof_call_dummy_words (struct gdbarch *gdbarch, int deprecated_sizeof_call_dummy_words); -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS) -#error "Non multi-arch definition of DEPRECATED_SIZEOF_CALL_DUMMY_WORDS" -#endif -#if !defined (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS) -#define DEPRECATED_SIZEOF_CALL_DUMMY_WORDS (gdbarch_deprecated_sizeof_call_dummy_words (current_gdbarch)) -#endif - /* DEPRECATED_FIX_CALL_DUMMY can be deleted. For the SPARC, implement PUSH_DUMMY_CODE and set CALL_DUMMY_LOCATION to ON_STACK. */ diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index c921426..b076ad3 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -525,10 +525,6 @@ F:2:DEPRECATED_DUMMY_WRITE_SP:void:deprecated_dummy_write_sp:CORE_ADDR val:val # DEPRECATED_REGISTER_SIZE can be deleted. v::DEPRECATED_REGISTER_SIZE:int:deprecated_register_size v::CALL_DUMMY_LOCATION:int:call_dummy_location:::::AT_ENTRY_POINT::0 -# DEPRECATED_CALL_DUMMY_WORDS can be deleted. -v::DEPRECATED_CALL_DUMMY_WORDS:LONGEST *:deprecated_call_dummy_words::::0:legacy_call_dummy_words::0:0x%08lx -# Implement PUSH_DUMMY_CALL, then delete DEPRECATED_SIZEOF_CALL_DUMMY_WORDS. -v::DEPRECATED_SIZEOF_CALL_DUMMY_WORDS:int:deprecated_sizeof_call_dummy_words::::0:legacy_sizeof_call_dummy_words::0 # DEPRECATED_FIX_CALL_DUMMY can be deleted. For the SPARC, implement # PUSH_DUMMY_CODE and set CALL_DUMMY_LOCATION to ON_STACK. F::DEPRECATED_FIX_CALL_DUMMY:void:deprecated_fix_call_dummy:char *dummy, CORE_ADDR pc, CORE_ADDR fun, int nargs, struct value **args, struct type *type, int gcc_p:dummy, pc, fun, nargs, args, type, gcc_p diff --git a/gdb/mcore-tdep.c b/gdb/mcore-tdep.c index 321ba69..58fe0e8 100644 --- a/gdb/mcore-tdep.c +++ b/gdb/mcore-tdep.c @@ -1022,7 +1022,6 @@ get_insn (CORE_ADDR pc) static struct gdbarch * mcore_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) { - static LONGEST call_dummy_words[7] = { }; struct gdbarch_tdep *tdep = NULL; struct gdbarch *gdbarch; @@ -1056,8 +1055,6 @@ mcore_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* Call Dummies: */ - set_gdbarch_deprecated_call_dummy_words (gdbarch, call_dummy_words); - set_gdbarch_deprecated_sizeof_call_dummy_words (gdbarch, 0); set_gdbarch_deprecated_save_dummy_frame_tos (gdbarch, generic_save_dummy_frame_tos); set_gdbarch_deprecated_saved_pc_after_call (gdbarch, mcore_saved_pc_after_call); set_gdbarch_breakpoint_from_pc (gdbarch, mcore_breakpoint_from_pc); diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c index 5e3a5f8..ffcdf7a 100644 --- a/gdb/mn10300-tdep.c +++ b/gdb/mn10300-tdep.c @@ -1111,7 +1111,6 @@ static struct gdbarch * mn10300_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) { - static LONGEST mn10300_call_dummy_words[] = { 0 }; struct gdbarch *gdbarch; struct gdbarch_tdep *tdep = NULL; int am33_mode; @@ -1186,8 +1185,6 @@ mn10300_gdbarch_init (struct gdbarch_info info, set_gdbarch_deprecated_target_read_fp (gdbarch, mn10300_read_fp); /* Calling functions in the inferior from GDB. */ - set_gdbarch_deprecated_call_dummy_words (gdbarch, mn10300_call_dummy_words); - set_gdbarch_deprecated_sizeof_call_dummy_words (gdbarch, sizeof (mn10300_call_dummy_words)); set_gdbarch_deprecated_push_arguments (gdbarch, mn10300_push_arguments); set_gdbarch_deprecated_reg_struct_has_addr (gdbarch, mn10300_reg_struct_has_addr); diff --git a/gdb/ns32k-tdep.c b/gdb/ns32k-tdep.c index 2bfeb3a..cfdcb4b 100644 --- a/gdb/ns32k-tdep.c +++ b/gdb/ns32k-tdep.c @@ -428,15 +428,6 @@ ns32k_pop_frame (void) It is 16 bytes long. */ -static LONGEST ns32k_call_dummy_words[] = -{ - 0x7f00ff82, - 0x0201c0ae, - 0x01a57f03, - 0xf2040302 -}; -static int sizeof_ns32k_call_dummy_words = sizeof (ns32k_call_dummy_words); - #define NS32K_CALL_DUMMY_ADDR 5 #define NS32K_CALL_DUMMY_NARGS 11 @@ -560,8 +551,6 @@ ns32k_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* Call dummy info */ 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); - set_gdbarch_deprecated_sizeof_call_dummy_words (gdbarch, sizeof_ns32k_call_dummy_words); set_gdbarch_deprecated_fix_call_dummy (gdbarch, ns32k_fix_call_dummy); /* Breakpoint info */ diff --git a/gdb/sh64-tdep.c b/gdb/sh64-tdep.c index 633a023..f1dc7b4 100644 --- a/gdb/sh64-tdep.c +++ b/gdb/sh64-tdep.c @@ -2793,7 +2793,6 @@ gdbarch_init_ftype sh64_gdbarch_init; struct gdbarch * sh64_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) { - static LONGEST sh64_call_dummy_words[] = {0}; struct gdbarch *gdbarch; struct gdbarch_tdep *tdep; @@ -2874,8 +2873,6 @@ sh64_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_deprecated_do_registers_info (gdbarch, sh64_do_registers_info); set_gdbarch_deprecated_frame_init_saved_regs (gdbarch, sh64_nofp_frame_init_saved_regs); set_gdbarch_breakpoint_from_pc (gdbarch, sh64_breakpoint_from_pc); - set_gdbarch_deprecated_call_dummy_words (gdbarch, sh64_call_dummy_words); - set_gdbarch_deprecated_sizeof_call_dummy_words (gdbarch, sizeof (sh64_call_dummy_words)); set_gdbarch_deprecated_init_extra_frame_info (gdbarch, sh64_init_extra_frame_info); set_gdbarch_deprecated_frame_chain (gdbarch, sh64_frame_chain); diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c index 948143c..7e829cb 100644 --- a/gdb/v850-tdep.c +++ b/gdb/v850-tdep.c @@ -1175,7 +1175,6 @@ v850_target_read_fp (void) static struct gdbarch * v850_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) { - static LONGEST call_dummy_words[1] = { 0 }; struct gdbarch_tdep *tdep = NULL; struct gdbarch *gdbarch; int i; @@ -1255,8 +1254,6 @@ v850_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_deprecated_store_struct_return (gdbarch, v850_store_struct_return); set_gdbarch_deprecated_store_return_value (gdbarch, v850_store_return_value); set_gdbarch_use_struct_convention (gdbarch, v850_use_struct_convention); - set_gdbarch_deprecated_call_dummy_words (gdbarch, call_dummy_nil); - set_gdbarch_deprecated_sizeof_call_dummy_words (gdbarch, 0); set_gdbarch_deprecated_fix_call_dummy (gdbarch, v850_fix_call_dummy); set_gdbarch_breakpoint_from_pc (gdbarch, v850_breakpoint_from_pc); diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c index 6ca9733..765dcf1 100644 --- a/gdb/xstormy16-tdep.c +++ b/gdb/xstormy16-tdep.c @@ -1102,7 +1102,6 @@ xstormy16_save_dummy_frame_tos (CORE_ADDR sp) static struct gdbarch * xstormy16_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) { - static LONGEST call_dummy_words[1] = { 0 }; struct gdbarch_tdep *tdep = NULL; struct gdbarch *gdbarch; @@ -1176,8 +1175,6 @@ xstormy16_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_deprecated_extract_struct_value_address (gdbarch, xstormy16_extract_struct_value_address); set_gdbarch_use_struct_convention (gdbarch, xstormy16_use_struct_convention); - set_gdbarch_deprecated_call_dummy_words (gdbarch, call_dummy_words); - set_gdbarch_deprecated_sizeof_call_dummy_words (gdbarch, 0); set_gdbarch_breakpoint_from_pc (gdbarch, xstormy16_breakpoint_from_pc); set_gdbarch_char_signed (gdbarch, 0); |