This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
corefiles/1296: x86-64 GNU/Linux can't read i386 core files
- From: ac131313 at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 26 Jul 2003 15:23:45 -0000
- Subject: corefiles/1296: x86-64 GNU/Linux can't read i386 core files
- Reply-to: ac131313 at redhat dot com
>Number: 1296
>Category: corefiles
>Synopsis: x86-64 GNU/Linux can't read i386 core files
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jul 26 15:28:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: ac131313@redhat.com
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
Several things combine to ensure that this doesn't work.
- i386 GNU/Linux corefile support is registered by i386-linux-nat.c, and not i386-linux-tdep.c
- x86-64 corefile support (via default_corefile_sniffer) gives the thumbs up to a 32 bit core file (should it?)
- x86-64 corefile support doesn't handle a 32 bit core file
Two possible fixes are:
- integrate i386 core file support and have x86-64 reject 32 bit core files
- have x86-64 handle 32 bit core files
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: