This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Testsuite addition for x86 linux GDB and SIGALRM fix
- To: Fernando Nasser <fnasser at redhat dot com>
- Subject: Re: [RFA] Testsuite addition for x86 linux GDB and SIGALRM fix
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Date: Thu, 26 Jul 2001 18:56:18 +0300 (IDT)
- cc: Andrew Cagney <ac131313 at cygnus dot com>, Michael Snyder <msnyder at cygnus dot com>, Daniel Jacobowitz <dmj+ at andrew dot cmu dot edu>, gdb-patches at sourceware dot cygnus dot com
On Thu, 26 Jul 2001, Fernando Nasser wrote:
> > int i = (foo (), bar ());
> >
> > or even like this:
> >
> > int i = foo (); bar ();
> >
> > Where would you suggest that "finish" leaves you in these cases, and what
> > does ``in the middle of source lines'' mean in these cases? Also, do you
> > think these two cases are fundamentally different from "foo (bar ());",
> > and if so, how are they different?
>
> All are the same. "step" gets into foo(), a "finish" finishes foo(),
> but then there is bar() so you stop there next.
So you are saying that "finish" should run all the way until the first
call exits, then print the return value (if any), and then do one more
"step" automatically, to get inside of the second call, is that it?