Re: [RFA] Define FETCH_INFERIOR_REGISTERS for ppc linux.

Elena Zannoni
2001-12-20T23:31:46Z

Kevin Buettner writes:
> On Dec 20, 12:46pm, Elena Zannoni wrote:
>
> > This patch is a subset of the changes initially submitted in:
> >
> > http://sources.redhat.com/ml/gdb-patches/2001-11/msg00548.html
> >
> > Nothing in this patch has to do with AltiVec registers. I included
> > only the part that moves the fetch/store inferior registers machinery
> > from infptrace.c to ppc-linux-nat.c. With that, it became possible to
> > clean up some macros from config/powerpc/nm-linux.h and get rid of the
> > use of core-aout.c.
> >
> > Given the discussions we had in the original thread, these changes
> > become quite straightforward.
> >
> > Tested on ppc-linux native and aix4.3 (for paranoia's sake).
> >
> > OK?
>
> Yes, approved.
>
> One question though. Is KERNEL_U_SIZE still needed?
>

It is used by the 'maint udot' command, which is available if
CHILD_XFER_MEMORY is not defined, which seems to be the case for
ppc-linux (it is defined for aix).

> Thanks,
>
> Kevin

I commited the patch.

Elena