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: Daniel Jacobowitz <drow at mvista dot com>
- To: Doug Evans <dje at transmeta dot com>
- Cc: fnasser at redhat dot com, gdb at sources dot redhat dot com
- Date: Sun, 8 Dec 2002 15:30:43 -0500
- Subject: Re: Processing of convenience variables for scripts ...
- References: <20021120163549.GA14036@nevyn.them.org> <Pine.LNX.4.33.0211210421480.3936-100000@ns.aus.com> <20021120183613.GA24089@nevyn.them.org> <200212081936.LAA24307@casey.transmeta.com>
On Sun, Dec 08, 2002 at 11:36:22AM -0800, Doug Evans wrote:
> Fernando writes:
> >>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.
>
> add-symbol-file takes a file name as the first argument and
> you can't store strings (of any kind) in convenience variables.
>
> I haven't checked FSF sources in the last few months,
> maybe things have improved. If so great. If not, how would this work?
This is true. One problem at a time - numbers first. I have some
ideas, but I won't have a chance to work on this until next weekend.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer