diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-10-30 23:08:18 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-10-30 23:08:18 +0000 |
commit | 607fc93c5df0e62dc803b98bee71e464557aa07a (patch) | |
tree | 16bbc6d20572e5202a87fe3da0bda107ccd51400 /gdb/mips-tdep.c | |
parent | aeab9e265fbff8317bb0e19d1e67a8b17e983290 (diff) | |
download | gdb-607fc93c5df0e62dc803b98bee71e464557aa07a.zip gdb-607fc93c5df0e62dc803b98bee71e464557aa07a.tar.gz gdb-607fc93c5df0e62dc803b98bee71e464557aa07a.tar.bz2 |
2004-10-30 Andrew Cagney <cagney@gnu.org>
* mips-tdep.h (MIPS_FIRST_EMBED_REGNUM)
(MIPS_LAST_EMBED_REGNUM): Add.
* config/mips/tm-mips.h (FIRST_EMBED_REGNUM)
(LAST_EMBED_REGNUM): Delete.
* mipsv4-nat.c, mips-tdep.c, mips-linux-tdep.c: Update.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index fb84d2f..5885d81 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -718,7 +718,7 @@ mips_register_type (struct gdbarch *gdbarch, int regnum) the ABI (with a few complications). */ if (regnum >= (NUM_REGS + mips_regnum (current_gdbarch)->fp_control_status) - && regnum <= NUM_REGS + LAST_EMBED_REGNUM) + && regnum <= NUM_REGS + MIPS_LAST_EMBED_REGNUM) /* The pseudo/cooked view of the embedded registers is always 32-bit. The raw view is handled below. */ return builtin_type_int32; @@ -5260,17 +5260,11 @@ mips_dump_tdep (struct gdbarch *current_gdbarch, struct ui_file *file) "mips_dump_tdep: ECOFF_REG_TO_REGNUM # %s\n", XSTRING (ECOFF_REG_TO_REGNUM (REGNUM))); fprintf_unfiltered (file, - "mips_dump_tdep: FIRST_EMBED_REGNUM = %d\n", - FIRST_EMBED_REGNUM); - fprintf_unfiltered (file, "mips_dump_tdep: DEPRECATED_IGNORE_HELPER_CALL # %s\n", XSTRING (DEPRECATED_IGNORE_HELPER_CALL (PC))); fprintf_unfiltered (file, "mips_dump_tdep: IN_SOLIB_CALL_TRAMPOLINE # %s\n", XSTRING (IN_SOLIB_CALL_TRAMPOLINE (PC, NAME))); - fprintf_unfiltered (file, - "mips_dump_tdep: LAST_EMBED_REGNUM = %d\n", - LAST_EMBED_REGNUM); #ifdef MACHINE_CPROC_FP_OFFSET fprintf_unfiltered (file, "mips_dump_tdep: MACHINE_CPROC_FP_OFFSET = %d\n", |