From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26093 invoked by alias); 4 Nov 2003 20:17:29 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 26081 invoked from network); 4 Nov 2003 20:17:29 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 4 Nov 2003 20:17:29 -0000 Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian)) id 1AH7cG-0002cm-JA; Tue, 04 Nov 2003 15:17:28 -0500 Date: Tue, 04 Nov 2003 20:17:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: gdb@sources.redhat.com Subject: Re: New "info auxv" command and $auxv variable? Message-ID: <20031104201728.GA10060@nevyn.them.org> Mail-Followup-To: Andrew Cagney , gdb@sources.redhat.com References: <3FA7D7C8.50609@redhat.com> <20031104165525.GA2599@nevyn.them.org> <3FA80508.6030601@redhat.com> <20031104200243.GA9441@nevyn.them.org> <3FA808CC.4030201@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FA808CC.4030201@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-11/txt/msg00030.txt.bz2 On Tue, Nov 04, 2003 at 03:15:08PM -0500, Andrew Cagney wrote: > >If we start making the CLI more usable by making this stuff available > >>people might start using it :-) > >> > >>Anyway, the MI stuff is almost free (the code is common). The $auxv > >>variable is a bit tricky but still ok. Could just add $entrypoint? > > > > > >Oops, I misread you. The MI command is definitely a good idea - > >"-info-auxv", right? > > Yep. > > >I think $entrypoint is more useful than $auxv. Should we have a > >reserved namespace for these things? > > Ah, that. Ref: Replace $fp with $frame / $gdbframe / $gdb.frame > http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=327 > > Never been a decision. $ variables are reserved for both builtins and > registers but the two overlap. Ok, here's something warped: > > $.auxv > > (i.e., "dollar dot auxv" so you know I didn't make a typo :-) Eek? I'd prefer $gdb.auxv or $_auxv. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer