* gdb/avr-tdep.c (avr_gdbarch_init): Use generic_unwind_get_saved_register.

This commit is contained in:
Theodore A. Roth 2002-09-03 21:42:13 +00:00
parent 8cee930b67
commit 8a55a7c51f
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-09-03 Theodore A. Roth <troth@verinet.com>
* gdb/avr-tdep.c (avr_gdbarch_init): Use
generic_unwind_get_saved_register.
2002-09-03 David Carlton <carlton@math.stanford.edu>
* dwarf2read.c (dwarf2_add_member_fn): Add the 'type'

View File

@ -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);