This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Wrong debug info on pc-linux-gnu ?
- To: Oleg Krivosheev <kriol at fnal dot gov>
- Subject: Re: Wrong debug info on pc-linux-gnu ?
- From: Bernd Schmidt <crux at Pool dot Informatik dot RWTH-Aachen dot DE>
- Date: Tue, 2 Sep 1997 14:25:44 +0200 (MET DST)
- cc: egcs at cygnus dot com
Hi,
>
> looks like i cannot print the content of simpliest classes
> in gdb 4.16, pc-linux-gnu, glibc 2.04. GDB reports
> <error type>. The same gdb/-g option works just
> fine under sparc-solaris2.5.1
It kind of is. It's not a bug in GCC, but in gdb-4.16. You can do
one of two things:
a) Download a binary of a recent gdb snapshot from one of HJ Lu's
usual places.
b) Put a "#undef DBX_USE_BINCL" in dbxout.c just before the first
reference of that macro.
Bernd