diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-09-18 22:39:21 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-09-18 22:39:21 +0000 |
commit | 779497948df1c4d95bafc2f2a82c640f2ebe1c3b (patch) | |
tree | debf0ee45e37cd464367f97681b096e8e21c8f05 /gdb/sparc-tdep.c | |
parent | 9e4d8df3409e397a45dfb6af5a6a4c78c58618b0 (diff) | |
download | gdb-779497948df1c4d95bafc2f2a82c640f2ebe1c3b.zip gdb-779497948df1c4d95bafc2f2a82c640f2ebe1c3b.tar.gz gdb-779497948df1c4d95bafc2f2a82c640f2ebe1c3b.tar.bz2 |
2003-09-17 Andrew Cagney <cagney@redhat.com>
* 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 <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
documentation on REGISTER_NAMES.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r-- | gdb/sparc-tdep.c | 18 |
1 files changed, 0 insertions, 18 deletions
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) { |