From: Theodore A. Roth Date: Tue, 3 Sep 2002 21:42:13 +0000 (+0000) Subject: * gdb/avr-tdep.c (avr_gdbarch_init): Use generic_unwind_get_saved_register. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a55a7c51f6a9c5ba6e7dbadf4799c235bb5b310;p=binutils-gdb.git * gdb/avr-tdep.c (avr_gdbarch_init): Use generic_unwind_get_saved_register. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a64519e2369..f37986001f9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-09-03 Theodore A. Roth + + * gdb/avr-tdep.c (avr_gdbarch_init): Use + generic_unwind_get_saved_register. + 2002-09-03 David Carlton * dwarf2read.c (dwarf2_add_member_fn): Add the 'type' diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c index b24533223c6..e38f13d2a62 100644 --- a/gdb/avr-tdep.c +++ b/gdb/avr-tdep.c @@ -1216,8 +1216,7 @@ avr_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_max_register_virtual_size (gdbarch, 4); set_gdbarch_register_virtual_type (gdbarch, avr_register_virtual_type); - /* We might need to define our own here or define FRAME_INIT_SAVED_REGS */ - set_gdbarch_get_saved_register (gdbarch, generic_get_saved_register); + set_gdbarch_get_saved_register (gdbarch, generic_unwind_get_saved_register); set_gdbarch_print_insn (gdbarch, print_insn_avr);