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: powerpc-linux biarch corefile support


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


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