From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18532 invoked by alias); 8 Dec 2002 19:16:47 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 18525 invoked from network); 8 Dec 2002 19:16:46 -0000 Received: from unknown (HELO neon-gw.transmeta.com) (63.209.4.196) by sources.redhat.com with SMTP; 8 Dec 2002 19:16:46 -0000 Received: (from root@localhost) by neon-gw.transmeta.com (8.9.3/8.9.3) id LAA13611; Sun, 8 Dec 2002 11:16:42 -0800 Received: from mailhost.transmeta.com(10.1.1.15) by neon-gw.transmeta.com via smap (V2.1) id xma013599; Sun, 8 Dec 02 11:16:14 -0800 Received: from casey.transmeta.com (casey.transmeta.com [10.10.25.22]) by deepthought.transmeta.com (8.11.6/8.11.6) with ESMTP id gB8JGGR20472; Sun, 8 Dec 2002 11:16:16 -0800 (PST) Received: (from dje@localhost) by casey.transmeta.com (8.9.3/8.7.3) id LAA24268; Sun, 8 Dec 2002 11:16:16 -0800 Date: Sun, 08 Dec 2002 11:16:00 -0000 Message-Id: <200212081916.LAA24268@casey.transmeta.com> From: Doug Evans To: ac131313@redhat.com cc: gdb@sources.redhat.com Subject: Re: Processing of convenience variables for scripts ... References: <20021120141310.GA4546@nevyn.them.org> X-SW-Source: 2002-12/txt/msg00162.txt.bz2 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.