This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: don't assume gprs, fprs, some SPRS are contiguous


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]