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: GDB steping into STL Headers.


It sounds like the STL code got inlined?  Then next would also step in, since gdb doesn't see inlined functions as new frames.

Jim

On Feb 11, 2010, at 9:56 AM, Tom Tromey wrote:

>>>>>> ">" == mweglicki8208  <mweglicki@gmail.com> writes:
> 
> [ "next" ]
>>> Of course I tried next. But in this respect it behaves the same as "step".
>>> Maybe there is something wrong with my gdb configuration....
> 
> That is surprising, since "next" should step over calls.
> 
> Anyway, no, there is no way in gdb to disable stepping into certain
> calls.  This feature is requested fairly frequently, but so far nobody
> has worked on implementing it.
> 
> This is also http://sourceware.org/bugzilla/show_bug.cgi?id=8287
> 
> FWIW I think this would be a good feature to have.
> 
> Tom


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