forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user