From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13769 invoked by alias); 30 Nov 2009 16:22:57 -0000 Received: (qmail 13760 invoked by uid 22791); 30 Nov 2009 16:22:56 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 Nov 2009 16:22:51 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 2AB822BAC05; Mon, 30 Nov 2009 11:22:50 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id JIhhTU4WM8SL; Mon, 30 Nov 2009 11:22:50 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id C33F62BAB3C; Mon, 30 Nov 2009 11:22:49 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id AF7C4F5889; Mon, 30 Nov 2009 08:22:46 -0800 (PST) Date: Mon, 30 Nov 2009 17:04:00 -0000 From: Joel Brobecker To: Hui Zhu Cc: Michael Snyder , gdb@sourceware.org Subject: Re: [RFC] Let "gcore" command accept a suffix argument Message-ID: <20091130162246.GE4034@adacore.com> References: <4B11DA3C.3000203@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-11/txt/msg00218.txt.bz2 > I think if each command can support $v directly is better. > > For example: > set $a=0 > gcore $a > Saved corefile 0 Am I the only one who really doesn't like this idea? The more I think about it, the less I like it. It feels like putting a plug instead of getting a new pair of tires. I'm surprised at my own reaction, since it is not going to affect me all that much, and so I will let it go if others like it (but it feels like a bandaid to me, and once it's in, we won't be able to remove it). -- Joel