aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-08-13 19:14:09 +0000
committerAndrew Cagney <cagney@redhat.com>2002-08-13 19:14:09 +0000
commit7b4c2dcea0d6cb0b9eb6f74c163863cc178742fa (patch)
treed46b2c2b0b62efd63ab5ede3e51054bae4a2a6b0 /gdb
parent7eccd7f6f10a3647ba6e7496e62f733f211df93f (diff)
downloadgdb-7b4c2dcea0d6cb0b9eb6f74c163863cc178742fa.zip
gdb-7b4c2dcea0d6cb0b9eb6f74c163863cc178742fa.tar.gz
gdb-7b4c2dcea0d6cb0b9eb6f74c163863cc178742fa.tar.bz2
* i386-tdep.c (i386_gdbarch_init): Use
generic_unwind_get_saved_register.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/i386-tdep.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 489279e..5b28bd6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-13 Andrew Cagney <cagney@redhat.com>
+
+ * i386-tdep.c (i386_gdbarch_init): Use
+ generic_unwind_get_saved_register.
+
2002-08-13 Kevin Buettner <kevinb@redhat.com>
* procfs.c (procfs_can_use_hw_breakpoint): New function.
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index 7a8d2de..c2a4d51 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -1512,7 +1512,7 @@ i386_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
i386_register_convert_to_virtual);
set_gdbarch_register_convert_to_raw (gdbarch, i386_register_convert_to_raw);
- set_gdbarch_get_saved_register (gdbarch, generic_get_saved_register);
+ set_gdbarch_get_saved_register (gdbarch, generic_unwind_get_saved_register);
set_gdbarch_push_arguments (gdbarch, i386_push_arguments);
set_gdbarch_pc_in_call_dummy (gdbarch, pc_in_call_dummy_at_entry_point);