This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: RFC: strip --strip-nondebug
- From: Michael Snyder <msnyder at redhat dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com, binutils at sources dot redhat dot com
- Date: Thu, 05 Jun 2003 11:29:48 -0700
- Subject: Re: RFC: strip --strip-nondebug
- Organization: Red Hat, Inc.
- References: <m34r34a590.fsf@redhat.com>
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?