This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] W.I.P. AltiVec ppc registers support.
>> So just the core code needs to have a hard-wired (non native header) way
>> of unpacking Altivec registers (if they are found?)?
>
>
> I'm guessing we'll end up having to add fetch_core_registers() and
> company to ppc-linux-nat.c. That way neither core-regset.c nor
> core-aout.c will be used for a native Linux/PPC build. (See
> fetch_core_registers() in i386-linux-nat.c as an example.)
No. The core stuff would need to be kicked out of *-nat.c and into
*-core.c and/or *-greg.c and/or ??? The packing/unpacking of a reg-set
is technically only target dependant - debugging a core file from an
embedded target.
Daniel, how are the changes you were eluding to comming along?
Andrew