This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Excluding C++ Library Code


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....


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