* suppressing stepping into standard library functions
@ 2005-02-12 6:52 Edward Peschko
2005-02-12 19:45 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: Edward Peschko @ 2005-02-12 6:52 UTC (permalink / raw)
To: gdb
hey all,
I believe this has to be a FAQ and there must be a good solution
for this, but I can't find out because of searching being down.. ;-)
Anyways, what I wanted to do is avoid the stepping into standard
library functions for c++ code - seeing stuff like:
__normal_iterator(const _Iterator& __i) : _M_current(__i) { }
when hitting 'n' in the debugging sessions really obfuscates the flow of
logic of the program. I'd like to step through my code, and my code only.
Is there a way to configure gdb to avoid stepping into certain
classes/functions like this?
Ed
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: suppressing stepping into standard library functions
2005-02-12 6:52 suppressing stepping into standard library functions Edward Peschko
@ 2005-02-12 19:45 ` Daniel Jacobowitz
2005-02-16 4:34 ` Edward Peschko
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2005-02-12 19:45 UTC (permalink / raw)
To: Edward Peschko; +Cc: gdb
On Fri, Feb 11, 2005 at 10:18:38PM -0800, Edward Peschko wrote:
> hey all,
>
> I believe this has to be a FAQ and there must be a good solution
> for this, but I can't find out because of searching being down.. ;-)
>
> Anyways, what I wanted to do is avoid the stepping into standard
> library functions for c++ code - seeing stuff like:
>
> __normal_iterator(const _Iterator& __i) : _M_current(__i) { }
>
> when hitting 'n' in the debugging sessions really obfuscates the flow of
> logic of the program. I'd like to step through my code, and my code only.
>
> Is there a way to configure gdb to avoid stepping into certain
> classes/functions like this?
Not yet - this requires support for inline functions, so that we can
recognize when we're leaving the user code.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: suppressing stepping into standard library functions
2005-02-12 19:45 ` Daniel Jacobowitz
@ 2005-02-16 4:34 ` Edward Peschko
2005-02-16 12:04 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: Edward Peschko @ 2005-02-16 4:34 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
> > when hitting 'n' in the debugging sessions really obfuscates the flow of
> > logic of the program. I'd like to step through my code, and my code only.
> >
> > Is there a way to configure gdb to avoid stepping into certain
> > classes/functions like this?
>
> Not yet - this requires support for inline functions, so that we can
> recognize when we're leaving the user code.
so..
Is support for inline functions slated for 6.4? And if I compiled with
-fno-inline, could I get around this?
Ed
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: suppressing stepping into standard library functions
2005-02-16 4:34 ` Edward Peschko
@ 2005-02-16 12:04 ` Daniel Jacobowitz
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2005-02-16 12:04 UTC (permalink / raw)
To: Edward Peschko; +Cc: gdb
On Tue, Feb 15, 2005 at 08:11:25PM -0800, Edward Peschko wrote:
> > > when hitting 'n' in the debugging sessions really obfuscates the flow of
> > > logic of the program. I'd like to step through my code, and my code only.
> > >
> > > Is there a way to configure gdb to avoid stepping into certain
> > > classes/functions like this?
> >
> > Not yet - this requires support for inline functions, so that we can
> > recognize when we're leaving the user code.
>
> so..
>
> Is support for inline functions slated for 6.4? And if I compiled with
> -fno-inline, could I get around this?
It's slated for whenever someone does the work, so no :-)
I'm not sure if -fno-inline really suppresses all inlining. May depend
on your GCC.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-02-16 4:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-12 6:52 suppressing stepping into standard library functions Edward Peschko
2005-02-12 19:45 ` Daniel Jacobowitz
2005-02-16 4:34 ` Edward Peschko
2005-02-16 12:04 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox