Processing of convenience variables for scripts ...

Andrew Cagney ac131313@redhat.com
Wed Nov 20 08:32:00 GMT 2002


> 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 .....

similar to the SH equivalent.  I suspect an eval will be needed anyway.

Andrew




More information about the Gdb mailing list