summaryrefslogtreecommitdiff
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
commita6b4adc962d67694ee5eadb0aff8660d4fee291c (patch)
tree122899210535bc032f7294c5ddf9fa1fbe58ebb3 /gdb/ppc-tdep.h
parent2ac7ef3aa5f98fc1a514153b35844722c9a5e85f (diff)
downloadgdb-a6b4adc962d67694ee5eadb0aff8660d4fee291c.tar.gz
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 b06e64ee7c6..e8552235374 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 */