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: Eli Zaretskii <eliz at gnu dot org>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 24 Sep 2013 08:15:29 +0300
- 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>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Doug Evans <dje@google.com>
> Date: Mon, 23 Sep 2013 14:50:32 -0700
>
> 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?
OK for the documentation part, but perhaps we should start using just
DWARF, not DWARF2 or dwarf2, since the compilers now support DWARF3
and DWARF4 (AFAIK). That "2" could confuse new users of GDB, I think.
Thanks.