powerpc-linux biarch corefile support

Daniel Jacobowitz drow@false.org
Thu Feb 8 14:40:00 GMT 2007


On Tue, Jan 23, 2007 at 05:27:26PM +1030, Alan Modra wrote:
> Yes, it is for zero extending, and also for initializing unused
> fields.  Random values in unused fields (eg. orig_gpr3) look odd in
> core dumps.  I could cure that particular problem by clearing the
> buffer in linux-nat.c:linux_nat_do_thread_registers, but that doesn't
> help ps_lgetregs.

Note, we use this very rarely now - libthread_db may call it internally
to get at the thread pointer, but we no longer use it to get at
registers for our own purposes.

> OK, and thanks for the review.  How does this look?

FWIW, it looks fine to me, but it's hard to read a complete rewrite.
Mark, did you want to take a look at this revised patch?

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list