* gdb/avr-tdep.c (avr_gdbarch_init): Use generic_unwind_get_saved_register.
authorTheodore A. Roth <troth@openavr.org>
Tue, 3 Sep 2002 21:42:13 +0000 (21:42 +0000)
committerTheodore A. Roth <troth@openavr.org>
Tue, 3 Sep 2002 21:42:13 +0000 (21:42 +0000)
gdb/ChangeLog
gdb/avr-tdep.c

index a64519e..f379860 100644 (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'
index b245332..e38f13d 100644 (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);