Re: [RFC] Add support for PPC Altivec registers in gcore

Carlos Eduardo Seo
2008-03-28T20:41:50Z

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