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, 8 Dec 2002, Doug Evans wrote:

> Andrew writes:
>  >> The loop works, but add-symbol-file seems to be called without the
>  >>>
>  >>> convenience variables being expanded.
>  >>>
>  >>> Have it got that right?
>  >>>
>  >>> If so, what would be the first step to get them expanded?
>  >>
>  >> add-symbol-file takes constants, not expressions - so variables are not
>  >> expanded.  This should probably change but it's not clear how, given
>  >> the parser...
>  >
>  > A quick/dirty hack would be:
>  >
>  > eval .....
> 
> Can someone point me to threads on `eval'?
> My poor eyes can't find one.

I think that the intent was that someone implement eval. I can't find an 
existing one. Maybe my eyes are bad as well.

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com


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