This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [python] [patch] PR python/12656 (API for special blocks)
> From: Phil Muldoon <pmuldoon@redhat.com>
> Cc: gdb-patches@sourceware.org
> Date: Mon, 17 Oct 2011 11:31:06 +0100
>
> doco ping
Sorry, missed the original posting.
I have a couple of comments:
> +@defvar Block.is_global ()
> +@code{True} if the @code{gdb.Block} object is the global block
> +for the inferior, @code{False} if not. This attribute is not
> +writable.
If this is an attribute, why do you use "()" on the @defvar line?
Also, what do you mean by "the global block for the inferior"? why
"the" global block? There could be more than one such block, right?
And the same goes for the static attribute.