This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
$argc variable
- From: Andrew STUBBS <andrew dot stubbs at st dot com>
- To: GDB List <gdb at sources dot redhat dot com>
- Date: Thu, 03 Nov 2005 13:08:34 +0000
- Subject: $argc variable
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.
This is a feature I would very much like to see. SuperH/ST has had a
very similar feature for quite some time now (long before the above
proposal) in which $argc is a proper convenience variable.
I would submit our version, but I feel that the above is a better
approach (implementation details aside) - it does not suffer from
problems with recursion.
Is there any chance of resurrecting this idea?
Thanks
Andrew Stubbs