From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4414 invoked by alias); 2 Jul 2009 08:13:10 -0000 Received: (qmail 4406 invoked by uid 22791); 2 Jul 2009 08:13:09 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-vw0-f204.google.com (HELO mail-vw0-f204.google.com) (209.85.212.204) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Jul 2009 08:13:01 +0000 Received: by vwj42 with SMTP id 42so822349vwj.12 for ; Thu, 02 Jul 2009 01:12:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.96.204 with SMTP id i12mr8603014vcn.94.1246522379393; Thu, 02 Jul 2009 01:12:59 -0700 (PDT) In-Reply-To: <200907021005.48239.andre.poenitz@nokia.com> References: <200906301339.30711.vladimir@codesourcery.com> <200907012134.49196.vladimir@codesourcery.com> <629542d40907011044k282ef8dagc1112b4fc6761bff@mail.gmail.com> <200907021005.48239.andre.poenitz@nokia.com> Date: Thu, 02 Jul 2009 08:13:00 -0000 Message-ID: <629542d40907020112r29f98060oa2e84038c440ff63@mail.gmail.com> Subject: Re: [mi] -stack-list-arguments --simple-values From: Niko Sams To: =?ISO-8859-1?B?QW5kcukgUPZuaXR6?= Cc: gdb-patches@sourceware.org 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: 2009-07/txt/msg00057.txt.bz2 On Thu, Jul 2, 2009 at 10:05, Andr=E9 P=F6nitz wro= te: > On Wednesday 01 July 2009 19:44:53 Niko Sams wrote: >> > It would be nice indeed. However, I have not entirely designed how a f= rontend >> > should actually work with locals and arguments, so I did not do anythi= ng >> > like that -- just fixed obvious inconsistency between existing command= s. >> > >> 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 =A0-stack-list-locals-and-args =A0that would be > possible by e.g. adding a =A0kind=3D"arg" / kind=3D"local" flag or such. > > On a related note, can't we have the contents of a > '-stack-list-locals-and-args' in the *stopped =A0message? If the user doesn't have a variable view shown there is no need to update locals. So this needs to be optional. Niko