This is the mail archive of the gdb-prs@sources.redhat.com 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]

corefiles/1296: x86-64 GNU/Linux can't read i386 core files


>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:


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