From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10342 invoked by alias); 4 Jan 2010 14:42:25 -0000 Received: (qmail 10333 invoked by uid 22791); 4 Jan 2010 14:42:25 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_40,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-px0-f175.google.com (HELO mail-px0-f175.google.com) (209.85.216.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 04 Jan 2010 14:42:21 +0000 Received: by pxi5 with SMTP id 5so10458534pxi.12 for ; Mon, 04 Jan 2010 06:42:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.7.12 with SMTP id 12mr3816910wfg.328.1262616140077; Mon, 04 Jan 2010 06:42:20 -0800 (PST) In-Reply-To: <4B3BEDCC.9040103@earthlink.net> References: <4B29018C.6060307@codesourcery.com> <4B3BEDCC.9040103@earthlink.net> From: Hui Zhu Date: Mon, 04 Jan 2010 14:42:00 -0000 Message-ID: Subject: Re: [RFC] Let "gcore" command accept a suffix argument To: Stan Shebs Cc: Tom Tromey , Stan Shebs , Joel Brobecker , Michael Snyder , gdb-patches ml 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-01/txt/msg00055.txt.bz2 Sorry for my poor English, did you mean that we can use "eval" for this com= mand? Thanks, Hui On Thu, Dec 31, 2009 at 08:18, Stan Shebs wrote: > Tom Tromey wrote: >>>>>>> >>>>>>> "Stan" =3D=3D Stan Shebs writes: >>>>>>> >> >> Stan> BTW, Pedro nudges me out of my stupor and reminds me that the >> Stan> soon-to-be-posted tracepoint action to evaluate without collecting >> is >> Stan> also called "eval" (it was originally proposed as "do" but that >> Stan> ambiguates with "down", which seemed like a bad idea). >> >> Stan> The two versions are not necessarily mutually exclusive - the >> Stan> downloading at the start of a trace run gives us a chance to filter >> Stan> out eval's that don't make sense for the target agent - but if we = go >> Stan> too afield on syntax (the tracepoint version is simply a >> Stan> comma-separated list of GDB expressions), then that's going to be >> more >> Stan> of a problem to reconcile. >> >> "eval" seems awfully generic for a command which is specific to >> tracepoints. >> =A0I'm not super familiar with tracepoints but a lot of the other comman= ds >> seem to start with "t". =A0Why not "teval"? >> > > That's a good idea. =A0If we ever come up with a Grand Unified Semantics = of > actions and commands for which generic "eval" matches tracepoint "teval",= we > can simply alias the two. > > Stan > >