From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8006 invoked by alias); 5 Jun 2003 16:06:14 -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 7753 invoked from network); 5 Jun 2003 16:06:11 -0000 Received: from unknown (63.201.54.26) by sources.redhat.com with QMTP; 5 Jun 2003 16:06:11 -0000 Received: (qmail 20713 invoked by uid 10); 5 Jun 2003 16:06:08 -0000 Received: (qmail 1319 invoked by uid 500); 5 Jun 2003 16:06:04 -0000 Mail-Followup-To: gdb-patches@sources.redhat.com, binutils@sources.redhat.com, nickc@redhat.com To: Nick Clifton Cc: gdb-patches@sources.redhat.com, binutils@sources.redhat.com Subject: Re: RFC: strip --strip-nondebug References: From: Ian Lance Taylor Date: Thu, 05 Jun 2003 16:06:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-06/txt/msg00200.txt.bz2 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 Ian