From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22133 invoked by alias); 7 Dec 2009 20:33:32 -0000 Received: (qmail 22125 invoked by uid 22791); 7 Dec 2009 20:33:31 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 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; Mon, 07 Dec 2009 20:33:27 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 74D8110D85; Mon, 7 Dec 2009 20:33:25 +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 572C7107BA; Mon, 7 Dec 2009 20:33:25 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1NHkGp-0007if-8l; Mon, 07 Dec 2009 15:33:23 -0500 Date: Mon, 07 Dec 2009 20:33:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: Tristan Gingold , gdb-patches@sourceware.org Subject: Re: [RFA] Make sym_read routines handle separate debug files Message-ID: <20091207203323.GA29440@caradoc.them.org> Mail-Followup-To: Tom Tromey , Tristan Gingold , gdb-patches@sourceware.org References: <20091204124838.GA5764@ulanbator.act-europe.fr> <2CC5EFB8-A1BC-4025-9136-E8FA344B2C04@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-12/txt/msg00095.txt.bz2 On Mon, Dec 07, 2009 at 01:13:05PM -0700, Tom Tromey wrote: > After I sent my note, I wondered about folks doing something like > building an ELF executable, objcopy'ing it to some other format for > running it, but continuing to use the ELF for debugging. Do people do > that? Yes, e.g. uClinux, but... > If so then that would be a situation where the primary objfile could be > of any type, but still have separate debug info. then you just give GDB the ELF file. I've never seen a reference from a non-ELF executable to ELF debug info. -- Daniel Jacobowitz CodeSourcery