From: Eli Zaretskii <eliz@gnu.org>
To: Pierre-Marie de Rodat <derodat@adacore.com>
Cc: gdb-patches@sourceware.org, brobecker@adacore.com, derodat@adacore.com
Subject: Re: [PATCH] DOCO: Enhance the menu to select function overloads with signatures
Date: Tue, 08 Dec 2015 07:48:00 -0000 [thread overview]
Message-ID: <83egeydzat.fsf@gnu.org> (raw)
In-Reply-To: <1449491748-2677-1-git-send-email-derodat@adacore.com>
> From: Pierre-Marie de Rodat <derodat@adacore.com>
> Cc: Joel Brobecker <brobecker@adacore.com>, Pierre-Marie de Rodat <derodat@adacore.com>
> Date: Mon, 7 Dec 2015 13:35:48 +0100
>
> diff --git a/gdb/NEWS b/gdb/NEWS
> index a222dfb..060f1e2 100644
> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -28,6 +28,9 @@
> and "maint info program-spaces" now list the corresponding items in
> ascending ID order, for consistency with all other "info" commands.
>
> +* In Ada, the overloads selection menu has been enhance to display the
^^^^^^^
"enhanced"
> +show ada print-signatures"
> + Control whether parameter types and return types are displayed in overloads
> + selection menus. It is activaled (@code{on}) by default.
^^
Two spaces between sentences, please.
> +@node Overloading support for Ada
> +@subsubsection Overloading support for Ada
> +@cindex Ada, overloading
This index entry is backwards: it should be "overloading, Ada".
That's because the reader is much more likely to think of
"overloading" than of "Ada" when she wants to look up this entry.
> +If, after narrowing, the set of matching definitions still contains more than
> +one definition, GDB will display a menu to query which one it should use, for
^^^
"@value{GDBN}"
> +In this case, just select one menu entry either to cancel expression evaluation
> +(type @code{0} and press @code{ENTER}) or to continue evaluation with a
^^^^^^^^ ^^^^^^^^^^^^
@kbd{0} and @key{RET}, respectively. These are GNU conventions for
markup of user input and key names.
> +specific overloaded entity (type the corresponding number and press
Won't "specific instance" be more accurate? Those entries are no
longer overloaded, are they?
> +@code{ENTER}).
@key{RET}.
> +@kindex set ada print-signatures
> +@item set ada print-signatures
> +Control whether parameter types and return types are displayed in overloads
> +selection menus. It is activaled (@code{on}) by default.
^^
Two spaces where indicated. Also, I thing you can safely delete
"activated" and leave just @code{on} without parentheses.
> +@pxref{Overloading support for Ada}
@xref, not @pxref, and place a period after the closing brace.
OK with these fixed.
Thanks.
next prev parent reply other threads:[~2015-12-08 7:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-07 12:36 Pierre-Marie de Rodat
2015-12-08 7:48 ` Eli Zaretskii [this message]
2015-12-08 9:22 ` Pierre-Marie de Rodat
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83egeydzat.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=brobecker@adacore.com \
--cc=derodat@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox