aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-tdep.h
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2001-11-30 02:14:08 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2001-11-30 02:14:08 +0000
commit16333c4fa1324972804c8ddfb7b788ad6e07c69e (patch)
tree2d9ca0c591bc71f413606fe6eb5b0d0fd6800641 /gdb/ppc-tdep.h
parentc1c829a984d47553bfab085ed8bbda3de7957659 (diff)
downloadfsf-binutils-gdb-16333c4fa1324972804c8ddfb7b788ad6e07c69e.zip
fsf-binutils-gdb-16333c4fa1324972804c8ddfb7b788ad6e07c69e.tar.gz
fsf-binutils-gdb-16333c4fa1324972804c8ddfb7b788ad6e07c69e.tar.bz2
2001-11-29 Elena Zannoni <ezannoni@redhat.com>
* Makefile.in (ppc-linux-nat.o): Add dependency on ppc-tdep.h. * ppc-tdep.h (PPC_GPLAST_REGNUM): Define. * ppc-linux-nat.c: Include ppc-tdep.h. (ppc_register_u_addr): Don't use the static array regmap[], dynamically define the mapping instead. (supply_gregset): Ditto. (fill_gregset): Ditto. (COPY_REG): Delete macro defintion. (regmap): Delete array.
Diffstat (limited to 'gdb/ppc-tdep.h')
-rw-r--r--gdb/ppc-tdep.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ppc-tdep.h b/gdb/ppc-tdep.h
index b06e64e..e855223 100644
--- a/gdb/ppc-tdep.h
+++ b/gdb/ppc-tdep.h
@@ -46,6 +46,7 @@ CORE_ADDR rs6000_frame_chain (struct frame_info *);
/* Some important register numbers. */
#define PPC_GP0_REGNUM 0 /* GPR register 0 */
+#define PPC_GPLAST_REGNUM 31 /* GPR register 31 */
#define PPC_TOC_REGNUM 2 /* TOC register */
#define PPC_PS_REGNUM 65 /* Processor (or machine) status (%msr) */
#define PPC_CR_REGNUM 66 /* Condition register */