This is the mail archive of the gdb@sources.redhat.com 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: Step over inline and macros


> How do you get gdb to step over macros?  It seems to step into things like atoi.  This disturbs me a lot since I don't care about getting into Macros while debugging.  Also how do you get it to step over inline functions?  It seems like I have to insert a breakpoint well after the call to an inline function and use the continue command to step over the inline function.  Otherwise, it goes into the body of the inline function.


BTW, something that should help is ``until <line>''.  You can use it 
like next to skip over a number of lines.

Andrew




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