From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13161 invoked by alias); 12 Aug 2010 02:45:18 -0000 Received: (qmail 13151 invoked by uid 22791); 12 Aug 2010 02:45:17 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM X-Spam-Check-By: sourceware.org Received: from mail-wy0-f169.google.com (HELO mail-wy0-f169.google.com) (74.125.82.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Aug 2010 02:45:11 +0000 Received: by wyg36 with SMTP id 36so961026wyg.0 for ; Wed, 11 Aug 2010 19:45:09 -0700 (PDT) Received: by 10.216.176.83 with SMTP id a61mr17499157wem.47.1281581109262; Wed, 11 Aug 2010 19:45:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.186.205 with HTTP; Wed, 11 Aug 2010 19:44:49 -0700 (PDT) In-Reply-To: References: <4C632000.2060606@vmware.com> From: Hui Zhu Date: Thu, 12 Aug 2010 02:45:00 -0000 Message-ID: Subject: Re: RFA: implement "watch -location" To: Tom Tromey Cc: Michael Snyder , "gdb-patches@sourceware.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-08/txt/msg00165.txt.bz2 On Thu, Aug 12, 2010 at 06:15, Tom Tromey wrote: >>>>>> "Michael" =3D=3D Michael Snyder writes: > > Michael> Syntax quibble. =A0"-location"? =A0Don't we traditionally use > Michael> command option syntax such as "print /x"? =A0Hate to be > Michael> inconsistant... > > I picked that because it is what Apple did. > > GDB itself is inconsistent. =A0The "/x" form is used (primarily? by > formats), but the "-" form is used too, e.g. "file -readnow". > > Michael> Also, what about help? =A0Did I miss it? =A0I couldn't see it at= a glance. > > Oops! =A0I'll fix this. =A0Thanks. > > Tom > Hi Tom, This change is very cool. I hate: print &expr watch *$ It is so uncool. I am not sure about "-location" or "/x". But if you choose "-location", could you add a alias "-l"? Thanks, Hui