This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: $argc variable
- From: Dan Nicolaescu <dann at ics dot uci dot edu>
- To: Andrew STUBBS <andrew dot stubbs at st dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 03 Nov 2005 11:50:28 -0800
- Subject: Re: $argc variable
- References: <436A0BD2.5080505@st.com>
Andrew STUBBS <andrew.stubbs@st.com> 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