diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-11-16 14:31:53 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-11-16 14:31:53 +0000 |
commit | 6771c42750e8d35044dcb3506947c8fe46f74cda (patch) | |
tree | 4dfcffe12c4a9fb710bc188c6a2fc32b8ee1c21e /gdb/config | |
parent | c8048956e4dcec10f8ab2c40f8074747c36f6746 (diff) | |
download | gdb-6771c42750e8d35044dcb3506947c8fe46f74cda.zip gdb-6771c42750e8d35044dcb3506947c8fe46f74cda.tar.gz gdb-6771c42750e8d35044dcb3506947c8fe46f74cda.tar.bz2 |
2003-11-16 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_register_byte): Delete function.
(mips_gdbarch_init): Do not set "deprecated_register_byte".
* config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Delete macro.
* config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Delete macro.
* config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Delete macro.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/mips/tm-irix5.h | 20 | ||||
-rw-r--r-- | gdb/config/mips/tm-irix6.h | 9 | ||||
-rw-r--r-- | gdb/config/mips/tm-mips.h | 5 |
3 files changed, 0 insertions, 34 deletions
diff --git a/gdb/config/mips/tm-irix5.h b/gdb/config/mips/tm-irix5.h index da440b6..5faf7e5 100644 --- a/gdb/config/mips/tm-irix5.h +++ b/gdb/config/mips/tm-irix5.h @@ -67,26 +67,6 @@ #define SIGFRAME_REGSAVE_OFF (SIGFRAME_BASE + 3 * 4) #define SIGFRAME_FPREGSAVE_OFF (SIGFRAME_BASE + 3 * 4 + 32 * 4 + 4) -/* FIXME: cagney/2000-04-04: Testing the _MIPS_SIM_NABI32 and - _MIPS_SIM in a tm-*.h file is simply wrong! Those are - host-dependant macros (provided by /usr/include) and stop any - chance of the target being cross compiled */ -#if defined (_MIPS_SIM_NABI32) && _MIPS_SIM == _MIPS_SIM_NABI32 -/* - * Irix 6 (n32 ABI) has 32-bit GP regs and 64-bit FP regs - */ - -#undef MIPS_REGISTER_BYTE -#define MIPS_REGISTER_BYTE(N) \ - (((N) < FP0_REGNUM) ? (N) * mips_regsize (current_gdbarch) : \ - ((N) < FP0_REGNUM + 32) ? \ - FP0_REGNUM * mips_regsize (current_gdbarch) + \ - ((N) - FP0_REGNUM) * sizeof(double) : \ - 32 * sizeof(double) + ((N) - 32) * mips_regsize (current_gdbarch)) - -#endif /* N32 */ - - /* The signal handler trampoline is called _sigtramp. */ #undef IN_SIGTRAMP #define IN_SIGTRAMP(pc, name) ((name) && STREQ ("_sigtramp", name)) diff --git a/gdb/config/mips/tm-irix6.h b/gdb/config/mips/tm-irix6.h index 037ac81..bf4842a 100644 --- a/gdb/config/mips/tm-irix6.h +++ b/gdb/config/mips/tm-irix6.h @@ -61,15 +61,6 @@ #define FCRCS_REGNUM 69 /* FP control/status */ #define FCRIR_REGNUM 70 /* FP implementation/revision */ - -#undef MIPS_REGISTER_BYTE -#define MIPS_REGISTER_BYTE(N) \ - (((N) < FP0_REGNUM) ? (N) * mips_regsize (current_gdbarch) : \ - ((N) < FP0_REGNUM + 32) ? \ - FP0_REGNUM * mips_regsize (current_gdbarch) + \ - ((N) - FP0_REGNUM) * sizeof(double) : \ - 32 * sizeof(double) + ((N) - 32) * mips_regsize (current_gdbarch)) - /* The signal handler trampoline is called _sigtramp. */ #undef IN_SIGTRAMP #define IN_SIGTRAMP(pc, name) ((name) && STREQ ("_sigtramp", name)) diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index 1da59fb..331ab09 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -89,11 +89,6 @@ extern int mips_step_skips_delay (CORE_ADDR); #define PRID_REGNUM 89 /* Processor ID */ #define LAST_EMBED_REGNUM 89 /* Last one */ -/* Index within `registers' of the first byte of the space for - register N. */ - -#define MIPS_REGISTER_BYTE(N) ((N) * mips_regsize (current_gdbarch)) - /* Special symbol found in blocks associated with routines. We can hang mips_extra_func_info_t's off of this. */ |