Wrong debug info on pc-linux-gnu ?

Bernd Schmidt crux@Pool.Informatik.RWTH-Aachen.DE
Tue Sep 2 06:14:00 GMT 1997


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



More information about the Gcc mailing list