GDB steping into STL Headers.

mweglicki8208 mweglicki@gmail.com
Thu Feb 11 06:22:00 GMT 2010




mweglicki8208 wrote:
> So for example next will allways step

Of course I tried next. But in this respect it behaves the same as "step".
Maybe there is something wrong with my gdb configuration....



mweglicki8208 wrote:
> 
> Hello, 
> 
> Is there a way to disable stepping into a STL headers? This is what is
> happening: 
> 
> std::string test = "New string"; 
> 
> 
> And i have a lot of calls from stl headers like: 
> (gdb) step
> 671    
> /opt/gcc/linux64/ix86/gcc_3.4.5-2p2/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../include/c++/3.4.5/bits/stl_list.h:
> No
>         in
> /opt/gcc/linux64/ix86/gcc_3.4.5-2p2/lib/gcc/x86_64-redhat-linux/3.4.5/../../../../include/c++/3.4.5/bits/stl_list.h
> 
> 
> Is it possible to void it? So for example next will allways step into next
> line of code that i wish to debug?
> 

-- 
View this message in context: http://old.nabble.com/GDB-steping-into-STL-Headers.-tp27535106p27542787.html
Sent from the Sourceware - gdb list mailing list archive at Nabble.com.



More information about the Gdb mailing list