This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [0/2] Inspect extra signal information
On Tue, Feb 03, 2009 at 05:42:21PM +0100, Ulrich Weigand wrote:
> On the other hand, it's going to be difficult to avoid. One
> way would be for the Linux native target to always return
> the 32-bit layout when debugging a 32-bit inferior; if necessary
> it would have to convert the data in-place before returning it
> (similar to how the native target today converts register contents
> to 32 bit even though the ptrace interface returns 64 bit values).
I like this idea. We'd just need a "native siginfo to gdb siginfo"
routine, which could probably live in one common native-only file.
--
Daniel Jacobowitz
CodeSourcery