diff options
author | Mark Alexander <marka@cygnus> | 1996-11-22 04:50:46 +0000 |
---|---|---|
committer | Mark Alexander <marka@cygnus> | 1996-11-22 04:50:46 +0000 |
commit | ee455463711848bb2c5b9e8369dd06f4311492f2 (patch) | |
tree | e3506ac2dca6adee5dc2628226234605ab4a4365 /gdb/config | |
parent | 93dafa36de11e62d2c41eb1767f6f3a77ac1450c (diff) | |
download | gdb-ee455463711848bb2c5b9e8369dd06f4311492f2.zip gdb-ee455463711848bb2c5b9e8369dd06f4311492f2.tar.gz gdb-ee455463711848bb2c5b9e8369dd06f4311492f2.tar.bz2 |
* mips-tdep.c: Replace hard-coded constants with MIPS_INSTLEN.
(common_breakpoint): Use paddr instead of %x to print 64-bit values.
(heuristic_proc_desc): Add tests for 64-bit instructions.
(init_extra_frame_info, mips_push_arguments): Recognize additional
registers for EABI.
* remote-mips.c: Extend DDB target to allow TFTP downloads.
* config/mips/tm-mips.h (MIPS_LAST_ARG_REGNUM, MIPS_NUM_ARG_REGS):
Define.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/mips/tm-mips.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index b31a64f..83f2f1d 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -163,6 +163,13 @@ extern int in_sigtramp PARAMS ((CORE_ADDR, char *)); #define ZERO_REGNUM 0 /* read-only register, always 0 */ #define V0_REGNUM 2 /* Function integer return value */ #define A0_REGNUM 4 /* Loc of first arg during a subr call */ +#if MIPS_EABI + #define MIPS_LAST_ARG_REGNUM 11 /* EABI uses R4 through R11 for args */ + #define MIPS_NUM_ARG_REGS 8 +#else + #define MIPS_LAST_ARG_REGNUM 7 /* old ABI uses R4 through R7 for args */ + #define MIPS_NUM_ARG_REGS 4 +#endif #define SP_REGNUM 29 /* Contains address of top of stack */ #define RA_REGNUM 31 /* Contains return address value */ #define PS_REGNUM 32 /* Contains processor status */ |