From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2714 invoked by alias); 16 Jan 2008 13:44:50 -0000 Received: (qmail 2706 invoked by uid 22791); 16 Jan 2008 13:44:49 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 16 Jan 2008 13:44:23 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 3139E98372; Wed, 16 Jan 2008 13:44:21 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 1A3479811F; Wed, 16 Jan 2008 13:44:21 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1JF8Z1-0007uh-At; Wed, 16 Jan 2008 08:44:19 -0500 Date: Wed, 16 Jan 2008 13:44:00 -0000 From: Daniel Jacobowitz To: Markus Deuling Cc: Fabio Dell'Aria , GDB Mailinglist Subject: Re: Extract debug symbols to external file Message-ID: <20080116134419.GA30402@caradoc.them.org> Mail-Followup-To: Markus Deuling , Fabio Dell'Aria , GDB Mailinglist References: <585a84dc0801160408i7b766f7elde3bd1037d646770@mail.gmail.com> <478DF68A.8060901@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <478DF68A.8060901@de.ibm.com> User-Agent: Mutt/1.5.17 (2007-12-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: 2008-01/txt/msg00124.txt.bz2 On Wed, Jan 16, 2008 at 01:20:26PM +0100, Markus Deuling wrote: > Fabio Dell'Aria schrieb: >> Hi to all, >> >> how I can extract the debug symbols (extract not only copy) from the >> Project.exe file to the Project.dbg file? >> >> Exists any simple command (or also complex)? ;) >> > > If you use Linux you could take the strip command. But I guess you don't :-) So maybe google > for a windows-based alternative to strip. GNU Binutils works fine on Windows. Fabio, take a look at --only-keep-debug and --add-gnu-debuglink. -- Daniel Jacobowitz CodeSourcery