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 "set debug symfile on".


> From: Doug Evans <dje@google.com>
> Date: Tue, 24 Sep 2013 17:25:12 -0700
> 
> Hi.
> 
> This patch adds a new debugging option: set debug symfile on
> 
> For now it logs all calls through the symfile functions.
> 
> Regression tested on amd64-linux.
> 
> Ok to check in?

Thanks.

> --- NEWS	16 Sep 2013 17:47:29 -0000	1.614
> +++ NEWS	25 Sep 2013 00:03:11 -0000
> @@ -46,6 +46,10 @@ maint set|show per-command symtab
>  
>  * New options
>  
> +set debug symfile off|on
> +show debug symfile
> +  Control display of debugging info for symfile functions.

I'm not sure everybody knows what a "symfile" is.  How about this
instead:

  Control display of debugging info regarding reading symbol files and
  symbol tables within those files.

> --- doc/gdb.texinfo	16 Sep 2013 18:00:34 -0000	1.1112
> +++ doc/gdb.texinfo	25 Sep 2013 00:03:12 -0000
> @@ -22573,6 +22573,12 @@ Turns on or off debugging messages for F
>  @item show debug solib-frv
>  Display the current state of FR-V shared-library code debugging
>  messages.
> +@item set debug symfile
> +@cindex symbol file functions
> +Turns on or off display of debugging messages related to symbol file functions.

This could use a cross-reference to where symbol files are described
(the "Files" node).

> +The default is off.
> +@item show debug symfile
> +Show the current state of symbol file debugging.

  "Show the current state of symbol file debugging messages."

OK with those changes.


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