This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA, doc RFA] Add verbose level to "set debug dwarf2-read".
- From: Doug Evans <dje at google dot com>
- To: gdb-patches <gdb-patches at sourceware dot org>
- Date: Mon, 30 Sep 2013 11:55:04 -0700
- Subject: Re: [RFA, doc RFA] Add verbose level to "set debug dwarf2-read".
- Authentication-results: sourceware.org; auth=none
- References: <yjt2eh8fb42f dot fsf at ruffy dot mtv dot corp dot google dot com>
On Mon, Sep 23, 2013 at 2:50 PM, Doug Evans <dje@google.com> wrote:
> Hi.
>
> The output produced by "set debug dwarf2-read on" has too low an S/N ratio
> when debugging programs compiled with -fdebug-types-section.
> There can be 100s of type units in the file and one line of output
> for each of these TUs can make the other 10 lines of output disappear
> into the noise.
>
> This patch changes "set debug dwarf2-read on|off" to
> "set debug dwarf2-read 0|1|2".
> TUs are now only printed if "set debug dwarf2-read 2".
>
> Ok to check in?
>
> 2013-09-23 Doug Evans <dje@google.com>
>
> * dwarf2read.c (dwarf2_read_debug): Change to unsigned int.
> (create_debug_types_hash_table): Only print debugging messages for
> each TU if dwarf2-read >= 2.
> (process_queue): Ditto.
> (_initialize_dwarf2_read): Make "set debug dwarf2-read" a zuinteger.
> Update doc string.
>
> doc/
> * gdb.texinfo (Debugging Output): Update text for
> "set debug dwarf2-read".
>
Hi. Ping.
[still would like an ok for the code part]