This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob] Don't set get_saved_register() in Arm
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 24 Nov 2002 13:21:42 -0500
- Subject: [ob] Don't set get_saved_register() in Arm
Hello,
The attached eliminates the setting of get_saved_register() for the Arm.
Having tested it for be/le and -mthumb (without any regressions), and
given that it eliminates a reference to a deprecated function, I figure
it's pretty obvious :-)
committed,
Andrew
2002-11-24 Andrew Cagney <ac131313@redhat.com>
* arm-tdep.c (arm_gdbarch_init): Do not set get_saved_register.
Index: arm-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/arm-tdep.c,v
retrieving revision 1.77
diff -u -r1.77 arm-tdep.c
--- arm-tdep.c 23 Nov 2002 17:17:29 -0000 1.77
+++ arm-tdep.c 24 Nov 2002 18:10:49 -0000
@@ -2839,7 +2839,6 @@
set_gdbarch_call_dummy_address (gdbarch, entry_point_address);
set_gdbarch_push_return_address (gdbarch, arm_push_return_address);
- set_gdbarch_get_saved_register (gdbarch, deprecated_generic_get_saved_register);
set_gdbarch_push_arguments (gdbarch, arm_push_arguments);
set_gdbarch_coerce_float_to_double (gdbarch,
standard_coerce_float_to_double);