Excluding C++ Library Code

Dave Korn dave.korn@artimi.com
Wed Jan 18 22:24:00 GMT 2006


Daniel Jacobowitz wrote:
> On Wed, Jan 18, 2006 at 01:08:55PM -0700, Eric Lemings wrote:
>> Greetings,
>> 
>> This should probably be listed in a FAQ somewhere but here goes.  How do
>> I prevent GDB from stepping through/stopping in code (template functions,
>> inline functions, etc.) contained in standard C++ library header files?
> 
> GDB doesn't support this, unfortunately.
> 
> Right now the infrastructure for it isn't there, but someday it will
> be.  But how would you indicate to the debugger what constituted
> "uninteresting" headers?


  I'd get the compiler (which already knows about system headers vs. user
headers) to pass down the information in a custom DIE myself.  But then again,
I haven't thought about it in great depth!

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



More information about the Gdb mailing list