From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10180 invoked by alias); 22 Sep 2009 05:31:34 -0000 Received: (qmail 10172 invoked by uid 22791); 22 Sep 2009 05:31:33 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 22 Sep 2009 05:31:27 +0000 Received: (qmail 14322 invoked from network); 22 Sep 2009 05:31:25 -0000 Received: from unknown (HELO wind.localnet) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 22 Sep 2009 05:31:25 -0000 From: Vladimir Prus To: Nick Roberts Subject: Re: [MI] -stack-list-variables Date: Tue, 22 Sep 2009 05:31:00 -0000 User-Agent: KMail/1.11.90 (Linux/2.6.24-24-generic; KDE/4.2.90; i686; svn-979530; 2009-06-10) Cc: Joel Brobecker , gdb-patches@sources.redhat.com References: <200909191412.37692.vladimir@codesourcery.com> <200909212002.44063.vladimir@codesourcery.com> <19127.63969.180199.561232@totara.tehura.co.nz> In-Reply-To: <19127.63969.180199.561232@totara.tehura.co.nz> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200909220931.27493.vladimir@codesourcery.com> 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: 2009-09/txt/msg00698.txt.bz2 On Tuesday 22 September 2009 Nick Roberts wrote: > > > But what would happen the day a front-end starts caring? Are they > > > going to have to send 2 MI commands to get the info? > > > > No. The frontend author would write an email to gdb@sources.redhat.com, > > explaining the reasons, and a new field will be added as result. That's > > how I'd prefer MI to evolve, as opposed to adding information ahead of > > the time. > > That's exactly what I have done. Hmm, I must have missed. You never said that you want to implement this-and-that in Emacs, and explained why and how. What you said was you consider the separation "useful", which is considerably more weaker statement. Are you actually planning on implementing locals/arg separation in Emacs in observable timeframe? > and: > > > I am frankly surprised by the amount of support for this feature, and > > the fact that this support say this is harmless, and possibly > > useful, but does not name any single frontend that actually separates > > arguments from "true" locals. > > I'm not sure that `proof by example' should be necessary. but here's an > example showing Totalview separate the two: > > http://upc.lbl.gov/docs/user/ProcessWindow.png > > Totalview is probably the world's best C/C++ debugger Uhm, this is very subjective statement (though you seem to use Totalview as example regularly). Looking on the screenshot, I am not impressed. > (apart fron GDB, of > course!). I'm sure that if their users didn't want this feature, Etnus would > remove it. I am not aware how marketing/management/design works at that company, so I cannot comment on this. > As a maintainer I would try to accommodate such requests and reserve my > judgements for technical matters. I disagree. Sensible frontend interface is only possible if we (or I) understand specific use cases that are supported, and how they are supposed, as opposed to working from requests to add some information to some command. - Volodya