This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Step outer function call
> Date: Mon, 28 Jan 2008 15:19:39 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: gdb@sourceware.org
>
> On Mon, Jan 28, 2008 at 12:12:52PM -0800, William K. Foster wrote:
> > Hi,
> >
> > I don't know much about the debug formats, but it seems to me that since
> > the debugger knows what line number it is on in the source code, it
> > should be able to locate the last function call on that line number and
> > enter it for this hypothetical command that many people seem to want.
> >
> > Am I missing something?
>
> Yes, generally we can't locate the last function call.
Can we locate all of them? If so, perhaps we could (optionally)
display a menu of them and ask the user where she wants to step.