From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30947 invoked by alias); 5 Jan 2007 10:47:36 -0000 Received: (qmail 30937 invoked by uid 22791); 5 Jan 2007 10:47:36 -0000 X-Spam-Check-By: sourceware.org Received: from zigzag.lvk.cs.msu.su (HELO zigzag.lvk.cs.msu.su) (158.250.17.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 05 Jan 2007 10:47:32 +0000 Received: from Debian-exim by zigzag.lvk.cs.msu.su with spam-scanned (Exim 4.50) id 1H2mbb-0003Iv-29 for gdb-patches@sources.redhat.com; Fri, 05 Jan 2007 13:47:29 +0300 Received: from localhost ([127.0.0.1] helo=ip6-localhost) by zigzag.lvk.cs.msu.su with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1H2mbG-0003IG-K9; Fri, 05 Jan 2007 13:47:02 +0300 From: Vladimir Prus To: Nick Roberts Subject: Re: [mi] [ada] varobjs for registers 2 Date: Fri, 05 Jan 2007 10:47:00 -0000 User-Agent: KMail/1.9.1 Cc: Daniel Jacobowitz , gdb-patches@sources.redhat.com References: <200612202137.29038.vladimir@codesourcery.com> <17822.10079.540550.7046@kahikatea.snap.net.nz> In-Reply-To: <17822.10079.540550.7046@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701051346.59389.ghost@cs.msu.su> 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-01/txt/msg00183.txt.bz2 On Friday 05 January 2007 13:24, Nick Roberts wrote: > > +@smallexample > > + -var-list --@var{kind} @{@var{frame-addr} | "*"@} > > +@end smallexample > > + > >... > > + > > +At the moment the only defined kind is ``registers''. > > Isn't "-var-list --registers" only meaningful with USE_SELECTED_FRAME > i.e "-var-list --registers @"? It can be also meanigful with specific frame number. > Likewise "-var-list --locals" generally would only make seem to make sense > with USE_CURRENT_FRAME i.e "-var-list --locals *". For --local, I expect it to be meaningful only with specific frame number. Anyway, such meaningfullness specific to each kind can be documented separately. I'm not sure the general syntax need those details. > Also, looking ahead, I wonder what Apple do about deleting variable objects for > locals when the program exits the frame. Perhaps "-var-list --locals" should > delete them. Oh, I guess I really should post my ideas about this. In on my todo for today. - Volodya