* 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 a64519e2369d55c973b5d1990ddd66db6eedfc65..f37986001f943592c519fe4723b1d4da72f8d2de 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 b24533223c6d1f0a5fc86ccbf41bacb205b60122..e38f13d2a62999968117879d75d000248fe43cd7 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);