This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA, doc RFA] Add verbose level to "set debug dwarf2-read".


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]