This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: Excluding C++ Library Code
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Daniel Jacobowitz'" <drow at false dot org>, "'Eric Lemings'" <lemings at roguewave dot com>
- Cc: <gdb at sources dot redhat dot com>
- Date: Wed, 18 Jan 2006 20:39:33 -0000
- Subject: 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....