This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA, doc RFA] Add "set debug symfile on".
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 25 Sep 2013 08:58:04 +0300
- Subject: Re: [RFA, doc RFA] Add "set debug symfile on".
- Authentication-results: sourceware.org; auth=none
- References: <yjt261tpbvdj 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: 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.