This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold patch] Fix --strip-debug-gdb and --gdb-index to strip appropriate debug sections
- From: Ian Lance Taylor <iant at google dot com>
- To: Cary Coutant <ccoutant at google dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Wed, 06 Jun 2012 17:46:54 -0700
- Subject: Re: [gold patch] Fix --strip-debug-gdb and --gdb-index to strip appropriate debug sections
- References: <CAHACq4r9mnQScyS0f-eGOJ0BvH-Fa84MbPgCnWZ79C3=JGtp_A@mail.gmail.com>
Cary Coutant <ccoutant@google.com> writes:
> 2012-06-06 Cary Coutant <ccoutant@google.com>
>
> * layout.cc (gdb_sections): Remove ".debug_" prefixes,
> add .debug_macro.
> (lines_only_debug_sections): Likewise.
> (gdb_fast_lookup_sections): New static array.
> (is_gdb_debug_section): Rename formal parameter.
> (is_lines_only_debug_section): Likewise.
> (is_gdb_fast_lookup_section): New function.
> (Layout::include_section): Check for ".zdebug_" prefix; pass
> section name suffix to is_gdb_debug_section, et al.; check for
> fast-lookup sections when building .gdb_index.
> * options.h (--strip-debug-gdb): Update GDB version number.
This is OK.
Thanks.
Ian