From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3948 invoked by alias); 2 Jun 2009 19:40:37 -0000 Received: (qmail 3929 invoked by uid 22791); 2 Jun 2009 19:40:35 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_33 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 02 Jun 2009 19:40:31 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id DB61210F86; Tue, 2 Jun 2009 19:40:28 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id BE4A510F7C; Tue, 2 Jun 2009 19:40:23 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1MBZqR-0005ED-1x; Tue, 02 Jun 2009 15:40:23 -0400 Date: Tue, 02 Jun 2009 19:40:00 -0000 From: Daniel Jacobowitz To: Paul Pluzhnikov Cc: Doug Evans , Jerome Guitton , gdb@sourceware.org Subject: Re: add-symbol-file/load and scripts Message-ID: <20090602194023.GA19630@caradoc.them.org> Mail-Followup-To: Paul Pluzhnikov , Doug Evans , Jerome Guitton , gdb@sourceware.org References: <20090602162718.GA21116@adacore.com> <8ac60eac0906020947w4c413b39t3fb38bd04eeb0c41@mail.gmail.com> <20090602170414.GL3029@adacore.com> <8ac60eac0906021141p608e83c5kbdf4fb2efad07b32@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8ac60eac0906021141p608e83c5kbdf4fb2efad07b32@mail.gmail.com> User-Agent: Mutt/1.5.17 (2008-05-11) 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/msg00018.txt.bz2 On Tue, Jun 02, 2009 at 11:41:03AM -0700, Paul Pluzhnikov wrote: > 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. IMO, this doesn't rule out a sensible default. Your comment about the embedded universe was accurate - but in the Linux desktop universe, you should almost never need this command anyway. -- Daniel Jacobowitz CodeSourcery