This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Wrong debug info on pc-linux-gnu ?


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


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