From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Jacobowitz To: gdb-patches@sourceware.cygnus.com Subject: Re: [RFA] Testsuite addition for x86 linux GDB and SIGALRM fix Date: Mon, 09 Jul 2001 14:34:00 -0000 Message-id: <20010709143406.A17003@nevyn.them.org> References: <200005192321.e4JNLEv13368@delius.kettenis.local> <3B3ABD6E.1040304@cygnus.com> <3B4A2056.4D58E307@cygnus.com> X-SW-Source: 2001-07/msg00217.html On Mon, Jul 09, 2001 at 05:21:26PM -0400, Fernando Nasser wrote: > W.r.t. the tests for HP and IA64 I sincerely regret that we do not > have two commands: "finishi" and "finish". The current behavior of > "finish" (stop at the assembler instruction after the call) is very > unsettling for someone who is doing source level debugging -- in this > case it should, after returning, single step until the end of the > sourceline where the call is ("if it is not at the beginning of a > source line after the return, single step to the end of it" would > do). I think that the current behavior of finish, while awkward, is better than what you're suggesting here. Suppose we have: foo (bar (x)); and we want to step in to foo. There's two ways to do it; a breakpoint on foo, or step - finish - step. Stepping in to bar, typing finish, and ending up after the call to foo would be exceedingly non-intuitive. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer