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


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]


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