From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Received: (qmail 2993 invoked from network); 12 Jan 2003 19:41:50 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by 209.249.29.67 with SMTP; 12 Jan 2003 19:41:50 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18Xps3-0004YP-00 for ; Sun, 12 Jan 2003 15:42:20 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18Xnzl-0001ce-00 for ; Sun, 12 Jan 2003 14:42:09 -0500 Date: Sun, 12 Jan 2003 19:41:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [RFC/RFA] New 'to' command Message-ID: <20030112194209.GA5996@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <15905.49160.629338.929610@localhost.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15905.49160.629338.929610@localhost.redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-01/txt/msg00472.txt.bz2 On Sun, Jan 12, 2003 at 02:20:40PM -0500, Elena Zannoni wrote: > > Following up from the long long long thread: > http://sources.redhat.com/ml/gdb-patches/2002-12/msg00584.html > > Here is a new command called 'to', which takes a location (any > location) specified like for the break command, and simply continues > to it, with the restriction that the current frame is not exited. > > I have left the current 'until' command alone, except for a modification > of the help string. > > If this is agreed upon, I'll submit doco changes and testsuite. Well, I like it just because it's nice to see us moving forwards... and "to" is as good a name as any, I guess. I'm worried that it doesn't pass the obviousness test: - Hypothesize a forgetful Dan. This is easy; I can provide one any time you need one. - He remembers a long thread about until and to - But he's forgotten which one does which! - And he didn't think of checking in "help"! - So, how does he figure out which does which? I think that the names of two commands should suggest logically different behaviors, or we're just setting up more confusion. I don't see how given "until 900" and "to 900" the user could figure out which wants the current frame. That said, I don't mind this solution. I'll get used to it; I suspect anyone else who wants to use it can too. Let's see if you satisfy everyone else :) -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer