This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Small fixes to the Python API doc
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Simon Marchi <simon dot marchi at ericsson dot com>
- Cc: gdb-patches at sourceware dot org, simon dot marchi at ericsson dot com
- Date: Thu, 16 Oct 2014 21:38:30 +0300
- Subject: Re: [PATCH] Small fixes to the Python API doc
- Authentication-results: sourceware.org; auth=none
- References: <1413482796-3090-1-git-send-email-simon dot marchi at ericsson dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Simon Marchi <simon.marchi@ericsson.com>
> CC: Simon Marchi <simon.marchi@ericsson.com>
> Date: Thu, 16 Oct 2014 14:06:36 -0400
>
> First:
> "Breakpoint.delete" is missing parenthesis.
I was going to say it doesn't need them, since it doesn't accept any
arguments, but then I saw that we already use those empty parens
everywhere.
So, reluctantly, OK for the parens.
> @defvar Breakpoint.enabled
> This attribute is @code{True} if the breakpoint is enabled, and
> -@code{False} otherwise. This attribute is writable.
> +@code{False} otherwise. You can use it to enable or disable the breakpoint.
> +This attribute is writable.
> @end defvar
The order is wrong: first say that it's writable, then that it can be
used to enable/disable.
OK with that change.
Thanks.