This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: PowerPC: provide SPR numbers in 'struct reg'
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Jim Blandy <jimb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 20 Jul 2004 13:39:20 -0700
- Subject: Re: RFA: PowerPC: provide SPR numbers in 'struct reg'
- Organization: Red Hat
- References: <vt2k6wzdbfp.fsf@zenia.home>
On 19 Jul 2004 14:49:46 -0500
Jim Blandy <jimb@redhat.com> wrote:
>
> The information this patch adds to the 'struct reg' tables isn't used
> at the moment. I'll be posting patches that do so soon.
>
> 2004-07-19 Jim Blandy <jimb@redhat.com>
>
> 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.
Okay.
Kevin