gcc-ss-20011231 is now available
Peter Barada
pbarada@mail.wm.sps.mot.com
Wed Jan 2 13:57:00 GMT 2002
There's something wrong with the debugging information begin generated
by gcc-20011231:
[pbarada: /tmp] > export PATH=/tmp/crap8/bin:$PATH
[pbarada: /tmp] > i686-linux-gcc -v
Reading specs from /tmp/crap8/bin/../lib/gcc-lib/i686-linux/3.1/specs
Configured with: /home/pbarada/work/cvs-wavemark/cross-linux-tools/gcc-20011231/configure --target=i686-linux --prefix=/tmp/crap8/ --enable-languages=c --with-local-prefix=/tmp/crap/i686-linux
Thread model: single
gcc version 3.1 20011231 (experimental)
[pbarada: /tmp] > cat hello.c
#include <stdio.h>
int main(int argc, char *argv[])
{
printf("hello world!\n");
}
[pbarada: /tmp] > i686-linux-gcc -g -o hello hello.c
[pbarada: /tmp] > file hello
hello: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses shared libs), not stripped
[pbarada: /tmp] > i686-linux-gdb hello
GNU gdb 5.1
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=i686-linux"...Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader.
(gdb) b main
No symbol table is loaded. Use the "file" command.
gdb-5.1 can't deal with the debugging information that gcc-20011231
cranks out. How does this get fixed?!?
--
Peter Barada Peter.Barada@motorola.com
Wizard 781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola) 781-270-0193 (fax)
More information about the Gcc
mailing list