aboutsummaryrefslogtreecommitdiff
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
commitf10683bb26f21627c8d542d8c85518151de278f5 (patch)
tree9b0c52999966537d7784aa1dd9b4b4704a615e27 /gdb/mips-tdep.h
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/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 26fe95f..a28f729 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,