This is the mail archive of the gdb-patches@sourceware.org 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: [RFC] Add support for PPC Altivec registers in gcore




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


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