aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/mips
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2004-06-22 00:01:04 +0000
committerMartin Hunt <hunt@redhat.com>2004-06-22 00:01:04 +0000
commitf10683bb26f21627c8d542d8c85518151de278f5 (patch)
tree9b0c52999966537d7784aa1dd9b4b4704a615e27 /gdb/config/mips
parentc64ff40ad2c3eee052c00f3322ef298fd5220ae2 (diff)
downloadgdb-f10683bb26f21627c8d542d8c85518151de278f5.zip
gdb-f10683bb26f21627c8d542d8c85518151de278f5.tar.gz
gdb-f10683bb26f21627c8d542d8c85518151de278f5.tar.bz2
2004-06-21 Martin Hunt <hunt@redhat.com>
Kevin Buettner <kevinb@redhat.com> * config/mips/tm-mips.h (SP_REGNUM): Delete define. * mips-tdep.h (MIPS_SP_REGNUM): Define. * mips-tdep.c (mips_gdbarch_init): Set SP_REGNUM via call to set_gdbarch_sp_regnum(). Use cooked register number. (SP_REGNUM): Replace all occurrences with MIPS_SP_REGNUM.
Diffstat (limited to 'gdb/config/mips')
-rw-r--r--gdb/config/mips/tm-mips.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h
index 9345068..018877c 100644
--- a/gdb/config/mips/tm-mips.h
+++ b/gdb/config/mips/tm-mips.h
@@ -56,7 +56,6 @@ extern int mips_step_skips_delay (CORE_ADDR);
#define V0_REGNUM 2 /* Function integer return value */
#define A0_REGNUM 4 /* Loc of first arg during a subr call */
#define T9_REGNUM 25 /* Contains address of callee in PIC */
-#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 */
#define UNUSED_REGNUM 73 /* Never used, FIXME */