This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
GDB 6.1 can't read cores from code compiled with GCC 2.95.3
- From: Paul Dubuc <pdubuc at cas dot org>
- To: GDB Mailing List <gdb at sources dot redhat dot com>
- Date: Thu, 22 Apr 2004 13:49:10 -0400
- Subject: GDB 6.1 can't read cores from code compiled with GCC 2.95.3
- Organization: Chemical Abstracts Service (CAS)
I've just built gdb 6.1 on Solaris 8 (with GCC 3.3.1) and I can't examine core
files from processes that were built with g++ 2.95.3:
#0 0xff11e42c in ProcUpdate () from /usr/lib/libc.so.1
(gdb) where
#0 0xff11e42c in ProcUpdate () from /usr/lib/libc.so.1
#1 0xff0b5c68 in atoi () from /usr/lib/libc.so.1
#2 0xff0b5c68 in atoi () from /usr/lib/libc.so.1
Previous frame identical to this frame (corrupt stack?)
(gdb)
Is this a bug or is 6.1 not supposed to work with this compiler? It seems to
work fine with cores generated by GCC 3.3.1 compiled code.
Thanks,
--
Paul M. Dubuc