Excluding C++ Library Code

Mike Stump mrs@apple.com
Thu Jan 19 03:54:00 GMT 2006


On Jan 18, 2006, at 12:22 PM, Eric Lemings wrote:
>> 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 figure the responsibility for this would probably reside more
> with the compiler than the debugger (e.g. -gnostdinc++) but I
> as hoping it could be done already.

Either, we can mark the debug information with `system header', or  
gdb can strncmp ("/usr/include") and a few others...  :-)  gcc has a  
slightly easier time know when a header is a system header, but a  
project GUI has a easier time having check boxes for components you  
want to stop in and which ones you don't want to stop in, with system  
headers being just one of the boxes.



More information about the Gdb mailing list