From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11957 invoked by alias); 3 Nov 2005 19:51:15 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 11930 invoked by uid 22791); 3 Nov 2005 19:51:13 -0000 Received: from scanner2.ics.uci.edu (HELO scanner2.ics.uci.edu) (128.195.1.36) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 03 Nov 2005 19:51:13 +0000 Received: from vino.ics.uci.edu (dann@vino.ics.uci.edu [128.195.11.198]) by scanner2.ics.uci.edu (8.12.10/8.12.10) with ESMTP id jA3JoXKN024525; Thu, 3 Nov 2005 11:50:33 -0800 (PST) Message-Id: <200511031950.jA3JoXKN024525@scanner2.ics.uci.edu> To: Andrew STUBBS Cc: gdb@sources.redhat.com Subject: Re: $argc variable References: <436A0BD2.5080505@st.com> From: Dan Nicolaescu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 03 Nov 2005 19:51:00 -0000 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-100, required 5, USER_IN_WHITELIST) X-SW-Source: 2005-11/txt/msg00070.txt.bz2 Andrew STUBBS writes: > Hi, > > There was a proposal here: > http://sources.redhat.com/ml/gdb-patches/2005-04/msg00055.html > > Has anything come of it? I can't find anything in cli-script.c. As a user I can say that such a feature would be great to have. For example both GCC and Emacs define a function "pr" to print internal data structures. To use it you have to do: p VARIABLE pr Instead with this feature you could still do the same, but also: pr VARIABLE or pr VARIABLE1 VARIABLE2 VARIABLE3 Just my 2 cents Thanks --dan