[RFC] Add support for PPC Altivec registers in gcore

Carlos Eduardo Seo cseo@linux.vnet.ibm.com
Fri Mar 28 20:41:00 GMT 2008



Ulrich Weigand wrote:
> 
> I'm sorry for all the back-and-forth on this, but it seems
> we do have to implement a Linux-specific fallback to that;
> I don't see how we can do a generic default.  To do so,
> you'll need to let the gdbarch variable default to NULL,
> and in linux_nat_do_thread_registers perform the fpregset
> fallback if that is the case.  ppc and i386 would then be
> the only architectures that install the new gdbarch variable;
> over time, the remaining Linux platforms should follow suite
> and we can remove the fallbacks.

So, you're suggesting that we go back to something similar I did here in 
linux_nat_do_thread_registers?

http://sourceware.org/ml/gdb-patches/2008-02/msg00157.html

Thanks,

-- 
Carlos Eduardo Seo
Software Engineer
IBM Linux Technology Center



More information about the Gdb-patches mailing list