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] add support for disabling individual pretty-printers


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


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