From c4d614136bde1a3e2d8b834633a1524726a01e3f Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 11 Jun 2003 19:38:27 +0000 Subject: 2003-06-11 Andrew Cagney * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Deprecate REGISTER_CONVERTIBLE. (DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL): Same. (DEPRECATED_REGISTER_CONVERT_TO_RAW): Same, make "from" constant. * gdbarch.h, gdbarch.c: Re-generate. * arch-utils.h (deprecated_register_convertible_not): Rename generic_register_convertible_not. * arch-utils.c (deprecated_register_convertible_not): Rename generic_register_convertible. (legacy_convert_register_p, legacy_register_to_value): Update. * sh-tdep.c (sh64_push_arguments): Update. * m68klinux-tdep.c (m68k_linux_extract_return_value): Update. * config/m68k/tm-delta68.h (DEPRECATED_EXTRACT_RETURN_VALUE): Update. * m68klinux-tdep.c (m68k_linux_store_return_value): Update. * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Update. * arch-utils.c (legacy_value_to_register): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. (rs6000_register_convert_to_raw): Make parameter "from" const. * mips-tdep.c (mips_gdbarch_init): Update. (mips_register_convert_to_raw): Make parameter"virt_buf" const. * infcmd.c (default_print_registers_info): Update. * ia64-tdep.c (ia64_gdbarch_init): Update. (ia64_register_convert_to_raw): Make parameter "from" const. * i386-tdep.c (i386_gdbarch_init): Update. (i386_register_convert_to_raw): Update. --- gdb/i386-tdep.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'gdb/i386-tdep.c') diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 6194e682197..80f69e09d79 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -1359,7 +1359,7 @@ i386_register_convert_to_virtual (int regnum, struct type *type, static void i386_register_convert_to_raw (struct type *type, int regnum, - char *from, char *to) + const char *from, char *to) { gdb_assert (i386_fp_regnum_p (regnum)); @@ -1686,10 +1686,9 @@ i386_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) /* Call dummy code. */ set_gdbarch_push_dummy_call (gdbarch, i386_push_dummy_call); - set_gdbarch_register_convertible (gdbarch, i386_register_convertible); - set_gdbarch_register_convert_to_virtual (gdbarch, - i386_register_convert_to_virtual); - set_gdbarch_register_convert_to_raw (gdbarch, i386_register_convert_to_raw); + set_gdbarch_deprecated_register_convertible (gdbarch, i386_register_convertible); + set_gdbarch_deprecated_register_convert_to_virtual (gdbarch, i386_register_convert_to_virtual); + set_gdbarch_deprecated_register_convert_to_raw (gdbarch, i386_register_convert_to_raw); set_gdbarch_extract_return_value (gdbarch, i386_extract_return_value); set_gdbarch_store_return_value (gdbarch, i386_store_return_value); -- cgit v1.2.1