aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-08-21 22:39:26 +0000
committerMichael Snyder <msnyder@vmware.com>2002-08-21 22:39:26 +0000
commit18f8152171f99de62076ca888f2903e70796b474 (patch)
treedba7c4eefeb6d47332c320d0affc2b98d4fddba0 /gdb/mips-tdep.c
parent71b8ef9305f33469ff79dfd961811367ee0101ee (diff)
downloadgdb-18f8152171f99de62076ca888f2903e70796b474.zip
gdb-18f8152171f99de62076ca888f2903e70796b474.tar.gz
gdb-18f8152171f99de62076ca888f2903e70796b474.tar.bz2
2002-08-21 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (DEFAULT_MIPS_TYPE): Delete unused macro. * config/mips/tm-mips.h (DEFAULT_MIPS_TYPE): Delete unused macro. * config/mips/tm-embed.h (DEFAULT_MIPS_TYPE): Delete unused macro.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index a3d2441..0482190 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -5914,6 +5914,9 @@ mips_gdbarch_init (struct gdbarch_info info,
register name management is part way between the old -
#undef/#define 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);
@@ -6132,9 +6135,6 @@ mips_dump_tdep (struct gdbarch *current_gdbarch, struct ui_file *file)
"mips_dump_tdep: CPLUS_MARKER = %c\n",
CPLUS_MARKER);
fprintf_unfiltered (file,
- "mips_dump_tdep: DEFAULT_MIPS_TYPE = %s\n",
- DEFAULT_MIPS_TYPE);
- fprintf_unfiltered (file,
"mips_dump_tdep: DO_REGISTERS_INFO # %s\n",
XSTRING (DO_REGISTERS_INFO));
fprintf_unfiltered (file,