This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] add support for disabling individual pretty-printers
- From: Eli Zaretskii <eliz at gnu dot org>
- To: dje at google dot com (Doug Evans)
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 20 May 2010 21:04:35 +0300
- Subject: Re: [RFA] add support for disabling individual pretty-printers
- References: <20100520071212.E4A8484398@ruffy.mtv.corp.google.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 20 May 2010 00:12:12 -0700 (PDT)
> From: dje@google.com (Doug Evans)
>
> The approach below uses the presence of an "enabled" attribute
> on the lookup function (or callable object!) to control the
> enabling/disabling.
Thanks.
> +@node Disabling Pretty-Printers
> +@subsubsection Disabling Pretty-Printers
Please put here a @cindex entry for this subject (you can use the
section name, lower-cased, as its text).
> +Pretty-printers are enabled and disabled by attaching an @code{enabled}
> +attribute to the registered function or callable object. If this attribute
> +is present and its value is @code{False} the printer is disabled, otherwise
> +the printer is enabled. ^
A comma missing here.
The patch for the manual is okay with these changes.