* i386-tdep.c (i386_gdbarch_init): Use
authorAndrew Cagney <cagney@redhat.com>
Tue, 13 Aug 2002 19:14:09 +0000 (19:14 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 13 Aug 2002 19:14:09 +0000 (19:14 +0000)
generic_unwind_get_saved_register.

gdb/ChangeLog
gdb/i386-tdep.c

index 489279e5708678b545bc1fffe23af05dd0902c51..5b28bd6f7fe27a29291aa6a75568789b503bb3b4 100644 (file)
@@ -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.
index 7a8d2de0ef9aea4f327065d7f22ce45133a25906..c2a4d51f7ffa6a60e2a78910f0f72d25368878f2 100644 (file)
@@ -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);