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: gdb-5.x and step over inline functions



On Sun, 24 Feb 2002, Iso-H wrote:

>  Is there any way to step over inline functions 
>  when using gdb >= 5.1 ? Some (commandline or other)option 
>  perhaps?

Doesn't `until' do that?  That is, given that line 123 calls an inline 
function, and line 124 is the one after the inline function returns, you 
should be able to say "until 124" and get what you want.  Does that work?

>  I have used gcc option "-g3" with compilations and
>  my host/target arch is GNULinux-alpha (ev56/ev67) but
>  I think that this "step over inline functions" problem
>  exist on other archs too.

Does it help to use -gstabs+ instead of -g3?  (I assume the latter is a
synonym for -gdwarf-2 on your system.)


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