This is the mail archive of the gdb-prs@sourceware.org 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]

[Bug gdb/9542] GDB 6.3/6.4 Not recognizing Core Files: GDB can'tread core files on this machine.


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.


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