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: [PATCH 2/6] DWARF Two Level Line Tables: dwarf2_line_debug


> From: Doug Evans <dje@google.com>
> cc: ccoutant@google.com
> Date: Thu, 12 Mar 2015 13:01:49 -0700
> 
> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -30,6 +30,10 @@ record bts
>  
>  * New options
>  
> +set debug dwarf2-line
> +show debug dwarf2-line
> +  Control display of debugging info regarding DWARF line processing.

This is OK.

> --- a/gdb/doc/gdb.texinfo
> +++ b/gdb/doc/gdb.texinfo
> @@ -23245,6 +23245,14 @@ The value is the number of nesting levels to print.
>  A value of zero turns off the display.
>  @item show debug dwarf2-die
>  Show the current state of DWARF2 DIE debugging.
> +@item set debug dwarf2-line
> +@cindex DWARF2 Line Tables
> +Turns on or off display of debugging messages related to reading
> +DWARF line tables.  The default is 0 (off).
> +A value of 1 provides basic information.
> +A value greater than 1 provides more verbose information.
> +@item show debug dwarf2-line
> +Show the current state of DWARF2 line table debugging.

This is also OK, but how about using "DWARF2" for consistency at least
in this fragment?

(Btw, I find this "DWARF2", "DWARF 4", "DWARF 5" thing utterly
confusing for the reader; the truth is "DWARF version 5" etc.  I wish
we started using that throughout.)

Thanks.


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