* cris-tdep.c (cris_gdbarch_init): Set
deprecated_reg_struct_has_addr instead of reg_struct_has_addr. * hppa-tdep.c (hppa_gdbarch_init): Likewise. * mcore-tdep.c (mcore_gdbarch_init): Likewise. * mips-tdep.c (mips_gdbarch_init): Likewise. * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. * sparc-tdep.c (sparc_gdbarch_init): Likewise.
This commit is contained in:
parent
48436ce6b9
commit
2110b94ffc
7 changed files with 33 additions and 19 deletions
|
@ -1,3 +1,13 @@
|
|||
2003-09-14 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* cris-tdep.c (cris_gdbarch_init): Set
|
||||
deprecated_reg_struct_has_addr instead of reg_struct_has_addr.
|
||||
* hppa-tdep.c (hppa_gdbarch_init): Likewise.
|
||||
* mcore-tdep.c (mcore_gdbarch_init): Likewise.
|
||||
* mips-tdep.c (mips_gdbarch_init): Likewise.
|
||||
* mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
|
||||
* sparc-tdep.c (sparc_gdbarch_init): Likewise.
|
||||
|
||||
2003-09-13 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* values.c (using_struct_return): Delete "function" and "funcaddr"
|
||||
|
|
|
@ -4156,7 +4156,7 @@ cris_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
|
|||
cris_abi_original_store_return_value);
|
||||
set_gdbarch_deprecated_extract_return_value
|
||||
(gdbarch, cris_abi_original_extract_return_value);
|
||||
set_gdbarch_reg_struct_has_addr
|
||||
set_gdbarch_deprecated_reg_struct_has_addr
|
||||
(gdbarch, cris_abi_original_reg_struct_has_addr);
|
||||
}
|
||||
else if (tdep->cris_abi == CRIS_ABI_V2)
|
||||
|
@ -4166,8 +4166,8 @@ cris_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
|
|||
set_gdbarch_deprecated_store_return_value (gdbarch, cris_abi_v2_store_return_value);
|
||||
set_gdbarch_deprecated_extract_return_value
|
||||
(gdbarch, cris_abi_v2_extract_return_value);
|
||||
set_gdbarch_reg_struct_has_addr (gdbarch,
|
||||
cris_abi_v2_reg_struct_has_addr);
|
||||
set_gdbarch_deprecated_reg_struct_has_addr
|
||||
(gdbarch, cris_abi_v2_reg_struct_has_addr);
|
||||
}
|
||||
else
|
||||
internal_error (__FILE__, __LINE__, "cris_gdbarch_init: unknown CRIS ABI");
|
||||
|
|
|
@ -5119,7 +5119,8 @@ hppa_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
|
|||
set_gdbarch_deprecated_call_dummy_length
|
||||
(gdbarch, hppa32_call_dummy_length);
|
||||
set_gdbarch_deprecated_stack_align (gdbarch, hppa32_stack_align);
|
||||
set_gdbarch_reg_struct_has_addr (gdbarch, hppa_reg_struct_has_addr);
|
||||
set_gdbarch_deprecated_reg_struct_has_addr
|
||||
(gdbarch, hppa_reg_struct_has_addr);
|
||||
set_gdbarch_deprecated_extract_return_value
|
||||
(gdbarch, hppa32_extract_return_value);
|
||||
set_gdbarch_use_struct_convention
|
||||
|
|
|
@ -1115,7 +1115,8 @@ mcore_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
|
|||
set_gdbarch_believe_pcc_promotion (gdbarch, 1);
|
||||
/* MCore will never pass a sturcture by reference. It will always be split
|
||||
between registers and stack. */
|
||||
set_gdbarch_reg_struct_has_addr (gdbarch, mcore_reg_struct_has_addr);
|
||||
set_gdbarch_deprecated_reg_struct_has_addr
|
||||
(gdbarch, mcore_reg_struct_has_addr);
|
||||
|
||||
/* Should be using push_dummy_call. */
|
||||
set_gdbarch_deprecated_dummy_write_sp (gdbarch, deprecated_write_sp);
|
||||
|
|
|
@ -5898,8 +5898,8 @@ mips_gdbarch_init (struct gdbarch_info info,
|
|||
set_gdbarch_long_bit (gdbarch, 32);
|
||||
set_gdbarch_ptr_bit (gdbarch, 32);
|
||||
set_gdbarch_long_long_bit (gdbarch, 64);
|
||||
set_gdbarch_reg_struct_has_addr (gdbarch,
|
||||
mips_o32_reg_struct_has_addr);
|
||||
set_gdbarch_deprecated_reg_struct_has_addr
|
||||
(gdbarch, mips_o32_reg_struct_has_addr);
|
||||
set_gdbarch_use_struct_convention (gdbarch,
|
||||
always_use_struct_convention);
|
||||
break;
|
||||
|
@ -5917,8 +5917,8 @@ mips_gdbarch_init (struct gdbarch_info info,
|
|||
set_gdbarch_long_bit (gdbarch, 32);
|
||||
set_gdbarch_ptr_bit (gdbarch, 32);
|
||||
set_gdbarch_long_long_bit (gdbarch, 64);
|
||||
set_gdbarch_reg_struct_has_addr (gdbarch,
|
||||
mips_o32_reg_struct_has_addr);
|
||||
set_gdbarch_deprecated_reg_struct_has_addr
|
||||
(gdbarch, mips_o32_reg_struct_has_addr);
|
||||
set_gdbarch_use_struct_convention (gdbarch, always_use_struct_convention);
|
||||
break;
|
||||
case MIPS_ABI_EABI32:
|
||||
|
@ -5935,8 +5935,8 @@ mips_gdbarch_init (struct gdbarch_info info,
|
|||
set_gdbarch_long_bit (gdbarch, 32);
|
||||
set_gdbarch_ptr_bit (gdbarch, 32);
|
||||
set_gdbarch_long_long_bit (gdbarch, 64);
|
||||
set_gdbarch_reg_struct_has_addr (gdbarch,
|
||||
mips_eabi_reg_struct_has_addr);
|
||||
set_gdbarch_deprecated_reg_struct_has_addr
|
||||
(gdbarch, mips_eabi_reg_struct_has_addr);
|
||||
set_gdbarch_use_struct_convention (gdbarch,
|
||||
mips_eabi_use_struct_convention);
|
||||
break;
|
||||
|
@ -5954,8 +5954,8 @@ mips_gdbarch_init (struct gdbarch_info info,
|
|||
set_gdbarch_long_bit (gdbarch, 64);
|
||||
set_gdbarch_ptr_bit (gdbarch, 64);
|
||||
set_gdbarch_long_long_bit (gdbarch, 64);
|
||||
set_gdbarch_reg_struct_has_addr (gdbarch,
|
||||
mips_eabi_reg_struct_has_addr);
|
||||
set_gdbarch_deprecated_reg_struct_has_addr
|
||||
(gdbarch, mips_eabi_reg_struct_has_addr);
|
||||
set_gdbarch_use_struct_convention (gdbarch,
|
||||
mips_eabi_use_struct_convention);
|
||||
break;
|
||||
|
@ -5975,8 +5975,8 @@ mips_gdbarch_init (struct gdbarch_info info,
|
|||
set_gdbarch_long_long_bit (gdbarch, 64);
|
||||
set_gdbarch_use_struct_convention (gdbarch,
|
||||
mips_n32n64_use_struct_convention);
|
||||
set_gdbarch_reg_struct_has_addr (gdbarch,
|
||||
mips_n32n64_reg_struct_has_addr);
|
||||
set_gdbarch_deprecated_reg_struct_has_addr
|
||||
(gdbarch, mips_n32n64_reg_struct_has_addr);
|
||||
break;
|
||||
case MIPS_ABI_N64:
|
||||
set_gdbarch_push_dummy_call (gdbarch, mips_n32n64_push_dummy_call);
|
||||
|
@ -5994,8 +5994,8 @@ mips_gdbarch_init (struct gdbarch_info info,
|
|||
set_gdbarch_long_long_bit (gdbarch, 64);
|
||||
set_gdbarch_use_struct_convention (gdbarch,
|
||||
mips_n32n64_use_struct_convention);
|
||||
set_gdbarch_reg_struct_has_addr (gdbarch,
|
||||
mips_n32n64_reg_struct_has_addr);
|
||||
set_gdbarch_deprecated_reg_struct_has_addr
|
||||
(gdbarch, mips_n32n64_reg_struct_has_addr);
|
||||
break;
|
||||
default:
|
||||
internal_error (__FILE__, __LINE__,
|
||||
|
|
|
@ -1209,7 +1209,8 @@ mn10300_gdbarch_init (struct gdbarch_info info,
|
|||
set_gdbarch_deprecated_sizeof_call_dummy_words (gdbarch, sizeof (mn10300_call_dummy_words));
|
||||
set_gdbarch_deprecated_pc_in_call_dummy (gdbarch, deprecated_pc_in_call_dummy_at_entry_point);
|
||||
set_gdbarch_deprecated_push_arguments (gdbarch, mn10300_push_arguments);
|
||||
set_gdbarch_reg_struct_has_addr (gdbarch, mn10300_reg_struct_has_addr);
|
||||
set_gdbarch_deprecated_reg_struct_has_addr
|
||||
(gdbarch, mn10300_reg_struct_has_addr);
|
||||
set_gdbarch_deprecated_push_return_address (gdbarch, mn10300_push_return_address);
|
||||
set_gdbarch_deprecated_save_dummy_frame_tos (gdbarch, generic_save_dummy_frame_tos);
|
||||
set_gdbarch_use_struct_convention (gdbarch, mn10300_use_struct_convention);
|
||||
|
|
|
@ -3285,7 +3285,8 @@ sparc_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
|
|||
set_gdbarch_deprecated_pop_frame (gdbarch, sparc_pop_frame);
|
||||
set_gdbarch_deprecated_push_return_address (gdbarch, sparc_push_return_address);
|
||||
set_gdbarch_deprecated_push_dummy_frame (gdbarch, sparc_push_dummy_frame);
|
||||
set_gdbarch_reg_struct_has_addr (gdbarch, sparc_reg_struct_has_addr);
|
||||
set_gdbarch_deprecated_reg_struct_has_addr
|
||||
(gdbarch, sparc_reg_struct_has_addr);
|
||||
set_gdbarch_return_value_on_stack (gdbarch, sparc_return_value_on_stack);
|
||||
set_gdbarch_deprecated_saved_pc_after_call (gdbarch, sparc_saved_pc_after_call);
|
||||
set_gdbarch_prologue_frameless_p (gdbarch, sparc_prologue_frameless_p);
|
||||
|
|
Loading…
Reference in a new issue