This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/9542] GDB 6.3/6.4 Not recognizing Core Files: GDB can'tread core files on this machine.
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 19 Oct 2011 20:09:29 +0000
- Subject: [Bug gdb/9542] GDB 6.3/6.4 Not recognizing Core Files: GDB can'tread core files on this machine.
- Auto-submitted: auto-generated
- References: <bug-9542-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=9542
Jan Kratochvil <jan.kratochvil at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
CC| |jan.kratochvil at redhat
| |dot com
Resolution| |WORKSFORME
--- Comment #2 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2011-10-19 20:09:29 UTC ---
(rm -f core.*;echo 'f(){*(int*)0=0;}main(){f();}'|cc -x c -g -;ulimit -c
unlimited;./a.out)
file a.out core.*
a.out: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
core.19419: ELF 32-bit LSB core file ARM, version 1 (SYSV), SVR4-style, from
'./a.out'
gdb ./a.out ./core.*
(gdb) bt
#0 0x00008374 in f () at <stdin>:1
#1 0x00008390 in main () at <stdin>:1
from both:
GNU gdb (GDB) Fedora (7.1-18.fc13)
This GDB was configured as "armv5tel-redhat-linux-gnueabi".
and:
GNU gdb (GDB) 7.3.50.20111012-cvs
This GDB was configured as "armv7l-unknown-linux-gnueabi".
gdb 6.1, 6.3 and 6.4 are too old to be supported, stable GDB is 7.3.1.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.