PATCH COMMITTED: Add --strip-debug-non-line

Daniel Jacobowitz drow@false.org
Wed May 28 21:43:00 GMT 2008


On Wed, May 28, 2008 at 01:50:11PM -0700, Ian Lance Taylor wrote:
> I've committed this patch go gold on behalf of Caleb Howe.  It adds a
> new option: --strip-debug-non-line.  It strips debugging information
> other than what is needed to map program counter values to line
> numbers.  The result is an executable which can produce backtraces and
> work with addr2line.

Just two questions: are you sure you want to strip out .debug_frame,
and does anything reduce .debug_str correspondingly to .debug_info?


-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list