From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29188 invoked by alias); 2 Jun 2009 18:41:17 -0000 Received: (qmail 29180 invoked by uid 22791); 2 Jun 2009 18:41:16 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_33,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 02 Jun 2009 18:41:09 +0000 Received: from spaceape10.eur.corp.google.com (spaceape10.eur.corp.google.com [172.28.16.144]) by smtp-out.google.com with ESMTP id n52If549030699 for ; Tue, 2 Jun 2009 19:41:06 +0100 Received: from wf-out-1314.google.com (wfc28.prod.google.com [10.142.3.28]) by spaceape10.eur.corp.google.com with ESMTP id n52IedM3003525 for ; Tue, 2 Jun 2009 11:41:04 -0700 Received: by wf-out-1314.google.com with SMTP id 28so2600953wfc.18 for ; Tue, 02 Jun 2009 11:41:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.77.7 with SMTP id z7mr5583wfa.272.1243968063971; Tue, 02 Jun 2009 11:41:03 -0700 (PDT) In-Reply-To: References: <20090602162718.GA21116@adacore.com> <8ac60eac0906020947w4c413b39t3fb38bd04eeb0c41@mail.gmail.com> <20090602170414.GL3029@adacore.com> Date: Tue, 02 Jun 2009 18:41:00 -0000 Message-ID: <8ac60eac0906021141p608e83c5kbdf4fb2efad07b32@mail.gmail.com> Subject: Re: add-symbol-file/load and scripts From: Paul Pluzhnikov To: Doug Evans Cc: Jerome Guitton , gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00015.txt.bz2 On Tue, Jun 2, 2009 at 10:26 AM, Doug Evans wrote: > add-symbol-file foo.elf $elf.load_address ("foo.elf") =A0 =A0# [just > winging syntax here, it's subordinate to the main point] I think you can already do this with python support: my_load foo.elf Where my_load is a python command, which parses foo.elf, loads it, and adds symbols for it. IOW, there is no real need to extend add-symbol-file anymore. --=20 Paul Pluzhnikov