From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25286 invoked by alias); 29 Sep 2005 10:22:53 -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 25254 invoked by uid 22791); 29 Sep 2005 10:22:48 -0000 Received: from nproxy.gmail.com (HELO nproxy.gmail.com) (64.233.182.206) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 29 Sep 2005 10:22:48 +0000 Received: by nproxy.gmail.com with SMTP id l37so591040nfc for ; Thu, 29 Sep 2005 03:22:46 -0700 (PDT) Received: by 10.48.226.11 with SMTP id y11mr31562nfg; Thu, 29 Sep 2005 03:22:46 -0700 (PDT) Received: by 10.48.157.14 with HTTP; Thu, 29 Sep 2005 03:22:46 -0700 (PDT) Message-ID: <6541ed4c05092903226a1145d8@mail.gmail.com> Date: Thu, 29 Sep 2005 10:22:00 -0000 From: David Lamy-Charrier Reply-To: David Lamy-Charrier To: GDB List Subject: Convenience variable for filename in add-symbol-file not expanded MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-SW-Source: 2005-09/txt/msg00240.txt.bz2 I am using the add-symbol-file command from a gdb script to dynamically add symbols at runtime. So I want to use a convenience variable for the filename parameter of add-symbol-file, I tested with gdb 6.3.1 for mingw and looked in the code but convenience variables as filename are not expanded. I found this thread: http://www.cygwin.com/ml/gdb/2002-11/msg00275.html But I do not know the current status of it. Does anyone know if a patch exists for that ? If not, could you give me some hints to implement it (any parse_and_eval_string or equivalent i can use...) ? Thanks in advance, David