This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Processing of convenience variables for scripts ...


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]