This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: Can this be happening?
- From: "Mohammed, Moqtadir" <Moqtadir_Mohammed at reyrey dot com>
- To: "Daniel Jacobowitz" <drow at false dot org>, "Jim Blandy" <jimb at codesourcery dot com>
- Cc: <gdb at sourceware dot org>
- Date: Tue, 3 Jul 2007 17:16:00 -0500
- Subject: RE: Can this be happening?
> -----Original Message-----
> From: Daniel Jacobowitz [mailto:drow@false.org]
>
> On Tue, Jul 03, 2007 at 02:38:51PM -0700, Jim Blandy wrote:
> > I don't know why the upper bits would be set. GDB may be
> > misinterpreting the information in the core file.
>
> The kernel dumps it as 32-bit too. It's not clear what those bits are
> for, but I bet they're really in your core dump and you should ask the
> kernel developers.
>
> Moves from the segment registers may leave implementation defined data
> in the upper half register - but that's only for fairly old Intel
> processors.
I didn't knew that the dump itself was 32 bit. Will check the core dump code
in kernel to see if it is truncating or not before dumping.
Thanks,
Moqtadir