From 779497948df1c4d95bafc2f2a82c640f2ebe1c3b Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 18 Sep 2003 22:39:21 +0000 Subject: 2003-09-17 Andrew Cagney * sparc-tdep.c (legacy_register_name): Delete function. * mips-tdep.c (mips_dump_tdep): Do not print REGISTER_NAME. (mips_gdbarch_init): Refer to MIPS_REGISTER_NAME in comments. * infcmd.c (gdb_register_name): Delete variable. * gdbarch.sh (SDB_REG_TO_REGNUM): Delete reference to REGISTER_NAME and "tm.h". * gdbarch.h, gdbarch.c: Regenerate. * dpx2-nat.c (regmap): Refer to REGISTER_NAME and not REGISTER_NAMES in comments. * remote-st.c (get_reg_name), i386b-nat.c (tregmap): Ditto. * m68klinux-nat.c (regmap): Ditto. 2003-09-18 Andrew Cagney * gdbint.texinfo (Target Architecture Definition): Delete documentation on REGISTER_NAMES. --- gdb/sparc-tdep.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'gdb/sparc-tdep.c') diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index 3a81821..f3e9535 100644 --- a/gdb/sparc-tdep.c +++ b/gdb/sparc-tdep.c @@ -2815,24 +2815,6 @@ sparc_print_extra_frame_info (struct frame_info *fi) paddr_nz (get_frame_extra_info (fi)->fp_addr)); } -/* MULTI_ARCH support */ - -const char * -legacy_register_name (int i) -{ -#ifdef REGISTER_NAMES - static char *names[] = REGISTER_NAMES; - if (i < 0 || i >= (sizeof (names) / sizeof (*names))) - return NULL; - else - return names[i]; -#else - internal_error (__FILE__, __LINE__, - "legacy_register_name: called."); - return NULL; -#endif -} - static const char * sparc32_register_name (int regno) { -- cgit v1.1