* config/mips/tm-mips.h (STABS_REG_TO_REGNUM): Match it with the gcc

definition.
	* config/mips/tm-irix3.h (STABS_REG_TO_REGNUM): Add.
This commit is contained in:
Peter Schauer 1993-05-01 09:56:13 +00:00
parent dea149ce8d
commit 0142214462
2 changed files with 7 additions and 1 deletions

View file

@ -315,3 +315,7 @@ typedef struct mips_extra_func_info {
mips_extra_func_info_t's off of this. */
#define MIPS_EFI_SYMBOL_NAME "__GDB_EFI_INFO__"
/* Convert a dbx stab register number (from `r' declaration) to a gdb REGNUM */
#define STAB_REG_TO_REGNUM(num) ((num) < 32 ? (num) : (num)+FP0_REGNUM-38)

View file

@ -377,4 +377,6 @@ typedef struct mips_extra_func_info {
and equivalence between CORE_ADDR and FRAME_ADDR. */
extern struct frame_info *setup_arbitrary_frame PARAMS ((int, CORE_ADDR *));
#define STAB_REG_TO_REGNUM(num) ((num) < 32 ? (num) : (num)+FP0_REGNUM-32)
/* Convert a dbx stab register number (from `r' declaration) to a gdb REGNUM */
#define STAB_REG_TO_REGNUM(num) ((num) < 32 ? (num) : (num)+FP0_REGNUM-38)