From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29114 invoked by alias); 5 Jun 2003 18:29:51 -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 29094 invoked from network); 5 Jun 2003 18:29:50 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 5 Jun 2003 18:29:50 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h55ITnH16258; Thu, 5 Jun 2003 14:29:49 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h55ITmT11405; Thu, 5 Jun 2003 14:29:48 -0400 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id h55ITmw28475; Thu, 5 Jun 2003 11:29:48 -0700 Message-ID: <3EDF8C1C.5D5067DE@redhat.com> Date: Thu, 05 Jun 2003 18:29:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Nick Clifton CC: gdb-patches@sources.redhat.com, binutils@sources.redhat.com Subject: Re: RFC: strip --strip-nondebug References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2003-06/txt/msg00206.txt.bz2 Nick Clifton wrote: > > Hi Guys, > > 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. > > The patch is incomplete - it needs a ChangeLog entry as well as > modifications to NEWS and binutils.texi to document the new > functionality, but I will write all of these once/if the patch is > in acceptable state. How big a reduction in size would you expect, typically? I'm a little ignorant, but what strippable info is in there that gdb doesn't need?