[patch] PR 12999 info macros command.
Eli Zaretskii
eliz@gnu.org
Wed Jul 20 17:24:00 GMT 2011
> Date: Mon, 18 Jul 2011 23:57:25 -0700
> From: Matt Rice <ratmice@gmail.com>
>
> this patch adds 2 commands,
> info macros LINESPEC
> info definitions MACRO
Thanks. A few minor comments and a question.
> +@cindex definition, showing a macro's
That sounds awkward. Suggest "@cindex definition of a macro, showing"
instead.
> +@item info macros @var{linespec}
> +Show all macro definitions at the location of @var{linespec}, and describe the
Suggest a slight rewording:
Show all macro definitions that are in effect at the location
specified by @var{linespec}, and describe ...
> +@cindex definition, showing a macro's
It's not useful to have identical index entries so close to one
another. I suggest to remove the second one.
> +Show all definitions of the macro named @var{macro}, in the current scope,
It might be better to say "... definitions of the named @var{macro} ...".
Also, what is the "scope" of a macro?
More information about the Gdb-patches
mailing list