aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodore A. Roth <troth@openavr.org>2002-09-03 21:42:13 +0000
committerTheodore A. Roth <troth@openavr.org>2002-09-03 21:42:13 +0000
commit8a55a7c51f6a9c5ba6e7dbadf4799c235bb5b310 (patch)
tree7765718d9513383a2f612970af5bad4daa38c683
parent8cee930b679ee004162d9a6b3b35f2064bbf9271 (diff)
downloadgdb-8a55a7c51f6a9c5ba6e7dbadf4799c235bb5b310.zip
gdb-8a55a7c51f6a9c5ba6e7dbadf4799c235bb5b310.tar.gz
gdb-8a55a7c51f6a9c5ba6e7dbadf4799c235bb5b310.tar.bz2
* gdb/avr-tdep.c (avr_gdbarch_init): Use generic_unwind_get_saved_register.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/avr-tdep.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a64519e..f379860 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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'
diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c
index b245332..e38f13d 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);