aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-09-18 22:39:21 +0000
committerAndrew Cagney <cagney@redhat.com>2003-09-18 22:39:21 +0000
commit779497948df1c4d95bafc2f2a82c640f2ebe1c3b (patch)
treedebf0ee45e37cd464367f97681b096e8e21c8f05 /gdb/mips-tdep.c
parent9e4d8df3409e397a45dfb6af5a6a4c78c58618b0 (diff)
downloadgdb-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/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 1d120d7..00c43e1 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -6047,11 +6047,8 @@ mips_gdbarch_init (struct gdbarch_info info,
/* MIPS version of register names. NOTE: At present the MIPS
register name management is part way between the old -
- #undef/#define REGISTER_NAMES and the new REGISTER_NAME(nr).
+ #undef/#define MIPS_REGISTER_NAMES and the new REGISTER_NAME(nr).
Further work on it is required. */
- /* NOTE: many targets (esp. embedded) do not go thru the
- gdbarch_register_name vector at all, instead bypassing it
- by defining REGISTER_NAMES. */
set_gdbarch_register_name (gdbarch, mips_register_name);
set_gdbarch_read_pc (gdbarch, mips_read_pc);
set_gdbarch_write_pc (gdbarch, generic_target_write_pc);
@@ -6403,8 +6400,6 @@ mips_dump_tdep (struct gdbarch *current_gdbarch, struct ui_file *file)
"mips_dump_tdep: RA_REGNUM = %d\n",
RA_REGNUM);
fprintf_unfiltered (file,
- "mips_dump_tdep: REGISTER_NAMES = delete?\n");
- fprintf_unfiltered (file,
"mips_dump_tdep: ROUND_DOWN = function?\n");
fprintf_unfiltered (file,
"mips_dump_tdep: ROUND_UP = function?\n");