This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: don't assume gprs, fprs, some SPRS are contiguous
- 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, 4 May 2004 09:06:09 -0700
- Subject: Re: RFA: don't assume gprs, fprs, some SPRS are contiguous
- Organization: Red Hat
- References: <vt2pt9lgfqs.fsf@zenia.home>
On 03 May 2004 20:09:31 -0500
Jim Blandy <jimb@redhat.com> wrote:
> Here's a revision of a patch I posted previously, in light of the
> other patches I've posted today.
>
> 2004-04-20 Jim Blandy <jimb@redhat.com>
>
> * ppc-linux-nat.c (fetch_ppc_registers, store_ppc_registers):
> Don't assume that the gprs, fprs, and UISA sprs are
> contiguous, start at register number zero, and end with fpscr.
> Instead, use the numbers from the tdep structure, FP0_REGNUM,
> and FPLAST_REGNUM.
The FPLAST_REGNUM portion of the ChangeLog entry doesn't make sense anymore.
Otherwise it looks okay provided the
s/FP0_REGNUM/tdep->ppc_fp0_regnum/ change is made.
Kevin