This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Processing of convenience variables for scripts ...
- From: Fernando Nasser <fnasser at redhat dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: Richard Sharpe <rsharpe at ns dot aus dot com>,Andrew Cagney <ac131313 at redhat dot com>, gdb at sources dot redhat dot com
- Date: Thu, 05 Dec 2002 19:52:27 -0500
- Subject: Re: Processing of convenience variables for scripts ...
- Organization: Red Hat , Inc. - Toronto
- References: <20021120163549.GA14036@nevyn.them.org> <Pine.LNX.4.33.0211210421480.3936-100000@ns.aus.com> <20021120183613.GA24089@nevyn.them.org>
Daniel Jacobowitz wrote:
In that case, in the short term, it would be worthwhile to implement
eval. A simple version would just find any individual word that
started with a $ and substitute variables, and end up with something
like "eval add-symbol-file $name $addr".
Seems useful to me, and probably not difficult to implement.
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9