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: Getting pissed off by gdb. Please help with stepping in.


On 18 Mar 2010, at 20:06, Doug Evans wrote:

> In the former, the last "step" that returns from foo returns to the
> caller - it's intuitive and what I expect.
> In the latter, the last "step" in bar doesn't return to the caller,
> instead it proceeds until we get into foo.  I just stepped out of a
> function - how come I've also stepped into another function?

FWIW, I'd also prefer the "step" to take the detour via the caller.


Jonas


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