Linux changes for GDB

Jim Blandy jimb@cygnus.com
Mon Jul 12 12:29:00 GMT 1999


> > Then there are some bug fixes:
> > - GDB can step into functions in shared libraries correctly.  On
> >   Redhat 5.2, at least, you sometimes end up in `strcmp'.  (I need to
> >   write a test for this one.)
> 
> The main problem on RH5.2 and RH6 seems to be that libc is not
> stripped

You know, there do exist shared libraries other than libc.  And some
people even have to debug them!  :)  I don't think stripping shared
libraries is really the way to resolve this problem.


> so once you enter a libc function by mistake with 's' you get hundreds
> of error messages because of the missing source file. Is there a elegant
> fix for that? (e.g. some way to specify to gdb to never look for some
> sources)

No, I don't have any fix for that.


More information about the Gdb mailing list