* config/ppc-tdep.h (struct gdbarch_tdep): Delete
authorJim Blandy <jimb@codesourcery.com>
Tue, 4 May 2004 17:58:31 +0000 (17:58 +0000)
committerJim Blandy <jimb@codesourcery.com>
Tue, 4 May 2004 17:58:31 +0000 (17:58 +0000)
commit8bf659e8f6f3cd9041872b77334812bc176bd2e7
tree1f03970a815fee6d9fb5fcec1f6fb1c0ecc2ab31
parentb967e06fbcdd33cc9f61e62dad38dc6d879c1405
* config/ppc-tdep.h (struct gdbarch_tdep): Delete
'ppc_gplast_regnum' member.
(ppc_num_gprs): New enum constant.
* ppc-linux-nat.c (ppc_register_u_addr): Use tdep->ppc_gp0_regnum
and ppc_num_gprs instead of tdep->ppc_gplast_regnum.
* rs6000-nat.c (regmap, fetch_inferior_registers,
store_inferior_registers): Same.
* rs6000-tdep.c (e500_pseudo_register_read)
(e500_pseudo_register_write): Same.
(rs6000_gdbarch_init): Don't initialize tdep->ppc_gplast_regnum.
gdb/ChangeLog
gdb/ppc-linux-nat.c
gdb/ppc-tdep.h
gdb/rs6000-nat.c
gdb/rs6000-tdep.c