This is the mail archive of the gdb-patches@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]

Re: [RFA] Testsuite addition for x86 linux GDB and SIGALRM fix


On Mon, Jul 09, 2001 at 06:13:16PM -0400, Fernando Nasser wrote:
> > Stepping in to bar, typing finish,
> > and ending up after the call to foo would be exceedingly non-intuitive.
> > 
> 
> This is true. But a finish would not stop after the call to foo() in
> this case.  The stepping would be aborted as we entered foo() itself
> (note that I said "step", not "next").  The result is quite intuitive
> in this case and you just provided one good example of how we could
> use it -- one could go "finish"-ing until the desired function was
> entered (without the need to step again and without the weird thing
> of appearing to stop at the same line you were before).

I personally think that this would be more confusing - I finish a
function and end up, not in its caller, but in some other function
called from the caller?  But I've no strong opinion; both options seem
a little clunky.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


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