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: Doug Evans <dje at transmeta dot com>
- To: ac131313 at redhat dot com
- Cc: gdb at sources dot redhat dot com
- Date: Sun, 8 Dec 2002 11:16:16 -0800
- Subject: Re: Processing of convenience variables for scripts ...
- References: <Pine.LNX.4.33.0211201939430.6081-100000@ns.aus.com> <20021120141310.GA4546@nevyn.them.org>
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.