From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2624 invoked by alias); 2 Jul 2009 08:05:12 -0000 Received: (qmail 2615 invoked by uid 22791); 2 Jul 2009 08:05:11 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp.nokia.com (HELO mgw-mx03.nokia.com) (192.100.122.230) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Jul 2009 08:05:05 +0000 Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211]) by mgw-mx03.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n6284p24021008 for ; Thu, 2 Jul 2009 11:04:56 +0300 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 2 Jul 2009 11:04:30 +0300 Received: from mgw-da01.ext.nokia.com ([147.243.128.24]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Thu, 2 Jul 2009 11:04:29 +0300 Received: from gar.localnet (bettdhcp167194.europe.nokia.com [172.25.167.194]) by mgw-da01.ext.nokia.com (Switch-3.2.6/Switch-3.2.6) with ESMTP id n6284P5e000955 for ; Thu, 2 Jul 2009 11:04:25 +0300 From: =?iso-8859-1?q?Andr=E9_P=F6nitz?= To: gdb-patches@sourceware.org Subject: Re: [mi] -stack-list-arguments --simple-values Date: Thu, 02 Jul 2009 08:05:00 -0000 User-Agent: KMail/1.11.2 (Linux/2.6.28-11-generic; KDE/4.2.2; i686; ; ) References: <200906301339.30711.vladimir@codesourcery.com> <200907012134.49196.vladimir@codesourcery.com> <629542d40907011044k282ef8dagc1112b4fc6761bff@mail.gmail.com> In-Reply-To: <629542d40907011044k282ef8dagc1112b4fc6761bff@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907021005.48239.andre.poenitz@nokia.com> X-Nokia-AV: Clean 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-07/txt/msg00056.txt.bz2 On Wednesday 01 July 2009 19:44:53 Niko Sams wrote: > > It would be nice indeed. However, I have not entirely designed how a frontend > > should actually work with locals and arguments, so I did not do anything > > like that -- just fixed obvious inconsistency between existing commands. > > > Isn't every arg a local? Why would an IDE want to display arguments > and locals differently? > In KDevelop I added the arguments to the locals. > -stack-list-locals-and-args would be perfect. [Qt Creator does the same btw] So for me, too, yes. But in any case it would be nice to be as open as (easily) possible to other approaches and not to force some design decision on a frontend. In case of -stack-list-locals-and-args that would be possible by e.g. adding a kind="arg" / kind="local" flag or such. On a related note, can't we have the contents of a '-stack-list-locals-and-args' in the *stopped message? _That_ would save a roundtrip, -stack-list-locals-and-args would probably not save time at all, at best remove twenty lines of frontend code... Andre'