From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9671 invoked by alias); 29 Jul 2002 15:45:27 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 9664 invoked from network); 29 Jul 2002 15:45:25 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 29 Jul 2002 15:45:25 -0000 Received: from dsl254-114-118.nyc1.dsl.speakeasy.net ([216.254.114.118] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17ZCi3-0004mK-00; Mon, 29 Jul 2002 10:45:23 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17ZChz-0001y9-00; Mon, 29 Jul 2002 11:45:19 -0400 Date: Mon, 29 Jul 2002 08:45:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: Michael Snyder , Anthony Green , gdb@sources.redhat.com Subject: Re: naming command arguments Message-ID: <20020729154519.GA7480@nevyn.them.org> Mail-Followup-To: Andrew Cagney , Michael Snyder , Anthony Green , gdb@sources.redhat.com References: <1027556059.2082.179.camel@dhcppc2> <3D408887.70003@ges.redhat.com> <3D41C2D7.49537121@redhat.com> <3D456220.30405@ges.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D456220.30405@ges.redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-07/txt/msg00301.txt.bz2 On Mon, Jul 29, 2002 at 11:41:20AM -0400, Andrew Cagney wrote: > >the source and line specification and: > >> > >> start:1 > >> > >>the start:VALUE? > > > > > >For this specific case, the command doesn't accept line specs. > >Only integer expressions interpretted as addresses. > > What of start::foo? (I think I've got my C++ syntax right :-) I think that we should actually come up with a unified command line syntax, probably breaking compatibility with existing commands, and implement it for 6.0. If we continue to add little hacks around this the line parsing is just going to get worse and worse. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer