Include PowerPC SPR numbers for special-purpose registers.
authorJim Blandy <jimb@codesourcery.com>
Tue, 20 Jul 2004 22:08:37 +0000 (22:08 +0000)
committerJim Blandy <jimb@codesourcery.com>
Tue, 20 Jul 2004 22:08:37 +0000 (22:08 +0000)
commit13ac140c319f79234d97a45a85901d5c3a8df18a
tree2e00d9cdd6d8ffe111a67baf12475940cca78527
parent708ff41185b9a7d8629cbfbd040b2c081882b53d
Include PowerPC SPR numbers for special-purpose registers.
* rs6000-tdep.c (struct reg): Add new member, 'spr_num'.
(R, R4, R8, R16, F, P, R32, R64, R0): Include value for
new member in initializer.
(S, S4, SN4, S64): New macros for defining special-purpose
registers.
(PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS, PPC_OEA_SPRS, registers_power,
registers_403, registers_403GC, registers_505, registers_860,
registers_601, registers_602, registers_603, registers_604,
registers_750, registers_e500): Use them.
gdb/ChangeLog
gdb/rs6000-tdep.c