From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4775 invoked by alias); 30 Nov 2009 17:33:24 -0000 Received: (qmail 4758 invoked by uid 22791); 30 Nov 2009 17:33:24 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_HELO_PASS,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; Mon, 30 Nov 2009 17:33:16 +0000 Received: from spaceape7.eur.corp.google.com (spaceape7.eur.corp.google.com [172.28.16.141]) by smtp-out.google.com with ESMTP id nAUHXBvr011754 for ; Mon, 30 Nov 2009 17:33:11 GMT Received: from pzk12 (pzk12.prod.google.com [10.243.19.140]) by spaceape7.eur.corp.google.com with ESMTP id nAUHU3MY005415 for ; Mon, 30 Nov 2009 09:33:09 -0800 Received: by pzk12 with SMTP id 12so2568741pzk.13 for ; Mon, 30 Nov 2009 09:33:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.237.37 with SMTP id k37mr8254361wah.31.1259602388648; Mon, 30 Nov 2009 09:33:08 -0800 (PST) In-Reply-To: <20091130162927.GF4034@adacore.com> References: <20091130162927.GF4034@adacore.com> Date: Mon, 30 Nov 2009 18:57:00 -0000 Message-ID: <8ac60eac0911300933x6b056ac8uaa3d06b1ca4e1e3d@mail.gmail.com> Subject: Re: Using symbols from From: Paul Pluzhnikov To: Joel Brobecker Cc: Venkatesh Srinivas , gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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-11/txt/msg00222.txt.bz2 On Mon, Nov 30, 2009 at 8:29 AM, Joel Brobecker wrote: > The only way I can think of is to transform the symbol-table data > into another format that GDB understands (for instance, an ELF symbol > table). For instance, if you could do an objcopy from your format to > ELF, then you can load the symbols from that ELF object file using > add-symbol-file. Alternatively, link a new "dummy" executable with the same symbols assigned to matching addresses. This (I think) could be done fairly easily using GNU-ld linker script. -- Paul Pluzhnikov