summaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.h
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
commit0236b0e0b153a2aa3a4db9daca0b536a6ace1fdd (patch)
tree825a4c60e39778f5096a3094aa6512f8b7cedc8b /gdb/mips-tdep.h
parent7f4ccd530fd355066a36e931c6dd93e97f6e9f46 (diff)
downloadgdb-0236b0e0b153a2aa3a4db9daca0b536a6ace1fdd.tar.gz
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/mips-tdep.h')
-rw-r--r--gdb/mips-tdep.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/mips-tdep.h b/gdb/mips-tdep.h
index 26fe95fc549..a28f7297eb0 100644
--- a/gdb/mips-tdep.h
+++ b/gdb/mips-tdep.h
@@ -62,6 +62,7 @@ struct mips_regnum
extern const struct mips_regnum *mips_regnum (struct gdbarch *gdbarch);
enum {
+ MIPS_SP_REGNUM = 29,
MIPS_EMBED_LO_REGNUM = 33,
MIPS_EMBED_HI_REGNUM = 34,
MIPS_EMBED_BADVADDR_REGNUM = 35,