From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6613 invoked by alias); 30 Oct 2007 18:19:14 -0000 Received: (qmail 6601 invoked by uid 22791); 30 Oct 2007 18:19:13 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 30 Oct 2007 18:19:10 +0000 Received: from kahikatea.snap.net.nz (19.30.255.123.static.snap.net.nz [123.255.30.19]) by viper.snap.net.nz (Postfix) with ESMTP id 6DD0F3DA198; Wed, 31 Oct 2007 07:19:07 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 3384B8FC6D; Wed, 31 Oct 2007 07:19:05 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18215.30105.181897.303713@kahikatea.snap.net.nz> Date: Tue, 30 Oct 2007 18:30:00 -0000 To: Daniel Jacobowitz Cc: Vladimir Prus , gdb-patches@sources.redhat.com Subject: Re: [PATCH] MI: lvalues and variable_editable In-Reply-To: <20071030111454.GA14499@caradoc.them.org> References: <18210.27153.559569.601092@kahikatea.snap.net.nz> <200710271615.23579.ghost@cs.msu.su> <18214.46470.57856.84852@kahikatea.snap.net.nz> <200710301222.03459.ghost@cs.msu.su> <18215.4053.151140.671560@kahikatea.snap.net.nz> <20071030111454.GA14499@caradoc.them.org> X-Mailer: VM 7.19 under Emacs 23.0.50.38 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: 2007-10/txt/msg00820.txt.bz2 > > > GDB, > > > as it stands, allows you to create a variable object in any frame, and > > > your patch does not work with that. So, either creating variable > > > objects in any frame should be disallowed, > > > > Actually I think that would be a good idea. Generally a user would create > > a watch expression in the frame he's examining. If not, the frontend > > would have to prompt for the frame. Does KDevelop do this? > > If you have a GUI with a stack pane, it may be showing a lot of frames > at once. Why force the front end to select a frmae before creating > the varobj? For a start -stack-list-frames (unlike `bt') doesn't list arguments or locals so you couldn't create such a watch expression with a single mouse click. But I'm not suggesting removing such functionality, and we're moving away from the original focus which was the submission of a patch with differentiates more clearly between the editable and changeable properties of variable objects. -- Nick http://www.inet.net.nz/~nickrob