From: Andrew Cagney Date: Mon, 5 Aug 2002 17:12:56 +0000 (+0000) Subject: 2002-08-05 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4743822622cd693b81467bf255475295ec28e91;p=binutils-gdb.git 2002-08-05 Andrew Cagney * mcore-tdep.c (mcore_gdbarch_init): Use generic_unwind_get_saved_register instead of generic_get_saved_register. * v850-tdep.c (v850_gdbarch_init): Ditto. * frv-tdep.c (frv_gdbarch_init): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. * s390-tdep.c (s390_gdbarch_init): Ditto. * d10v-tdep.c (d10v_gdbarch_init): Ditto. * config/mn10200/tm-mn10200.h (GET_SAVED_REGISTER): Ditto. * config/h8300/tm-h8300.h (GET_SAVED_REGISTER): Ditto. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ba992e43590..b999f7335bf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,16 @@ +2002-08-05 Andrew Cagney + + * mcore-tdep.c (mcore_gdbarch_init): Use + generic_unwind_get_saved_register instead of + generic_get_saved_register. + * v850-tdep.c (v850_gdbarch_init): Ditto. + * frv-tdep.c (frv_gdbarch_init): Ditto. + * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. + * s390-tdep.c (s390_gdbarch_init): Ditto. + * d10v-tdep.c (d10v_gdbarch_init): Ditto. + * config/mn10200/tm-mn10200.h (GET_SAVED_REGISTER): Ditto. + * config/h8300/tm-h8300.h (GET_SAVED_REGISTER): Ditto. + 2002-08-05 Joel Brobecker * objfiles.h: Add missing #include "symfile.h" diff --git a/gdb/config/h8300/tm-h8300.h b/gdb/config/h8300/tm-h8300.h index c70f4af542e..1ac08db3e62 100644 --- a/gdb/config/h8300/tm-h8300.h +++ b/gdb/config/h8300/tm-h8300.h @@ -311,4 +311,4 @@ extern void h8300_pop_frame (void); /* override the standard get_saved_register function with one that takes account of generic CALL_DUMMY frames */ #define GET_SAVED_REGISTER(raw_buffer, optimized, addrp, frame, regnum, lval) \ - generic_get_saved_register (raw_buffer, optimized, addrp, frame, regnum, lval) + generic_unwind_get_saved_register (raw_buffer, optimized, addrp, frame, regnum, lval) diff --git a/gdb/config/mn10200/tm-mn10200.h b/gdb/config/mn10200/tm-mn10200.h index d1b7eaceeaa..81768134e7c 100644 --- a/gdb/config/mn10200/tm-mn10200.h +++ b/gdb/config/mn10200/tm-mn10200.h @@ -213,7 +213,7 @@ extern use_struct_convention_fn mn10200_use_struct_convention; /* Override the default get_saved_register function with one that takes account of generic CALL_DUMMY frames. */ #define GET_SAVED_REGISTER(raw_buffer, optimized, addrp, frame, regnum, lval) \ - generic_get_saved_register (raw_buffer, optimized, addrp, frame, regnum, lval) + generic_unwind_get_saved_register (raw_buffer, optimized, addrp, frame, regnum, lval) /* Define this for Wingdb */ #define TARGET_MN10200 diff --git a/gdb/d10v-tdep.c b/gdb/d10v-tdep.c index 3b075fba8a5..afed387a567 100644 --- a/gdb/d10v-tdep.c +++ b/gdb/d10v-tdep.c @@ -1603,7 +1603,7 @@ d10v_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_sizeof_call_dummy_words (gdbarch, sizeof (d10v_call_dummy_words)); set_gdbarch_call_dummy_p (gdbarch, 1); set_gdbarch_call_dummy_stack_adjust_p (gdbarch, 0); - set_gdbarch_get_saved_register (gdbarch, generic_get_saved_register); + set_gdbarch_get_saved_register (gdbarch, generic_unwind_get_saved_register); set_gdbarch_fix_call_dummy (gdbarch, generic_fix_call_dummy); set_gdbarch_deprecated_extract_return_value (gdbarch, d10v_extract_return_value); diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c index 91f47fca2c6..682d9259abe 100644 --- a/gdb/frv-tdep.c +++ b/gdb/frv-tdep.c @@ -1126,7 +1126,7 @@ frv_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_push_dummy_frame (gdbarch, generic_push_dummy_frame); set_gdbarch_fix_call_dummy (gdbarch, generic_fix_call_dummy); - set_gdbarch_get_saved_register (gdbarch, generic_get_saved_register); + set_gdbarch_get_saved_register (gdbarch, generic_unwind_get_saved_register); set_gdbarch_decr_pc_after_break (gdbarch, 0); set_gdbarch_function_start_offset (gdbarch, 0); diff --git a/gdb/mcore-tdep.c b/gdb/mcore-tdep.c index 60363899cdb..d4cb61b1a0f 100644 --- a/gdb/mcore-tdep.c +++ b/gdb/mcore-tdep.c @@ -1098,7 +1098,7 @@ mcore_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_pc_regnum (gdbarch, 64); set_gdbarch_sp_regnum (gdbarch, 0); set_gdbarch_fp_regnum (gdbarch, 0); - set_gdbarch_get_saved_register (gdbarch, generic_get_saved_register); + set_gdbarch_get_saved_register (gdbarch, generic_unwind_get_saved_register); /* Call Dummies: */ diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c index 7761336ba15..18bea39529c 100644 --- a/gdb/mn10300-tdep.c +++ b/gdb/mn10300-tdep.c @@ -1160,7 +1160,7 @@ mn10300_gdbarch_init (struct gdbarch_info info, set_gdbarch_decr_pc_after_break (gdbarch, 0); /* Stack unwinding. */ - set_gdbarch_get_saved_register (gdbarch, generic_get_saved_register); + set_gdbarch_get_saved_register (gdbarch, generic_unwind_get_saved_register); set_gdbarch_frame_chain_valid (gdbarch, generic_file_frame_chain_valid); set_gdbarch_inner_than (gdbarch, core_addr_lessthan); set_gdbarch_frame_chain_valid (gdbarch, generic_file_frame_chain_valid); diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index f751cdf844e..0a0086f107c 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -1811,7 +1811,7 @@ s390_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_num_regs (gdbarch, S390_NUM_REGS); set_gdbarch_cannot_fetch_register (gdbarch, s390_cannot_fetch_register); set_gdbarch_cannot_store_register (gdbarch, s390_cannot_fetch_register); - set_gdbarch_get_saved_register (gdbarch, generic_get_saved_register); + set_gdbarch_get_saved_register (gdbarch, generic_unwind_get_saved_register); set_gdbarch_use_struct_convention (gdbarch, s390_use_struct_convention); set_gdbarch_frame_chain_valid (gdbarch, func_frame_chain_valid); set_gdbarch_register_name (gdbarch, s390_register_name); diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c index 149eb145f31..50980fa11cf 100644 --- a/gdb/v850-tdep.c +++ b/gdb/v850-tdep.c @@ -1237,7 +1237,7 @@ v850_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_init_extra_frame_info (gdbarch, v850_init_extra_frame_info); set_gdbarch_frame_init_saved_regs (gdbarch, v850_frame_init_saved_regs); set_gdbarch_frame_chain (gdbarch, v850_frame_chain); - set_gdbarch_get_saved_register (gdbarch, generic_get_saved_register); + set_gdbarch_get_saved_register (gdbarch, generic_unwind_get_saved_register); set_gdbarch_saved_pc_after_call (gdbarch, v850_saved_pc_after_call); set_gdbarch_frame_saved_pc (gdbarch, v850_frame_saved_pc); set_gdbarch_skip_prologue (gdbarch, v850_skip_prologue);