From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30370 invoked by alias); 5 Jun 2003 16:24:45 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 30235 invoked from network); 5 Jun 2003 16:24:44 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 5 Jun 2003 16:24:44 -0000 Received: from dsl093-172-017.pit1.dsl.speakeasy.net ([66.93.172.17] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19NxYM-0005AL-00; Thu, 05 Jun 2003 11:25:26 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19NxXe-0008PJ-00; Thu, 05 Jun 2003 12:24:42 -0400 Date: Thu, 05 Jun 2003 16:24:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com, binutils@sources.redhat.com, nickc@redhat.com Subject: Re: RFC: strip --strip-nondebug Message-ID: <20030605162442.GA32263@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com, binutils@sources.redhat.com, nickc@redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-06/txt/msg00203.txt.bz2 On Thu, Jun 05, 2003 at 09:06:04AM -0700, Ian Lance Taylor wrote: > Nick Clifton writes: > > > I am seeking comments and criticisms on the attached patch. It adds > > a new switch to strip: > > > > --strip-nondebug > > > > This can be used to create an output file which only contains the > > debug information from an executable. This would allow stripped > > binaries to be shipped with separate debug info files, and provided > > that the debugger supported it, they could still be debugged. > > I recommend a different option name. The other --strip* options > affect only the symbol table and the debugging information. This new > option also affects the sections. Maybe something like > strip --nondebug > or > strip --keep-debug > and don't forget > objcopy --keep-debug How about: strip --keep-debug-only objcopy --keep-debug-only ? -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer