Question about GDB under BSD

Joerg Sonnenberger joerg at britannica.bec.de
Fri Feb 25 06:25:33 PST 2005


On Thu, Feb 24, 2005 at 09:38:47PM +0000, Jonathon McKitrick wrote:
> 
> Sorry this isn't DFly specific, but some _other_ lists are considerably less
> helpful.
> 
> I love stl::string(s).  They work very well for many application-level
> projects.  But I hate how GDB steps into their code during  next
> stepping.  Is there a way I can skip this inline code that is part of stl
> strings?  Unfortunately, 'next' doesn't help, since much of the stl code is
> 'inline.'

I don't think so. The problem is how GDB (or any other debugger for that
matter) should now which functions are to be treated as "real" inline and
which are to be treated as "it's just a big macro, step over it".

Joerg





More information about the Users mailing list