From: Simon Marchi <simon.marchi@ericsson.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: <gdb-patches@sourceware.org>
Subject: Re: [PATCH 2/2] doc: Improve documentation about MI thread output
Date: Wed, 12 Apr 2017 21:13:00 -0000 [thread overview]
Message-ID: <e71b2333-e047-cfa2-2e7e-2d3df7d840b4@ericsson.com> (raw)
In-Reply-To: <83o9w1icug.fsf@gnu.org>
On 17-04-12 04:35 PM, Eli Zaretskii wrote:
> IME, defensive programming aside, knowing that some field could or
> could not appear is not always enough, sometimes you also need to
> understand the semantics and the significance of whether it does or
> doesn't, because you might need to interpret that in some way, e.g. to
> present some meaningful message to a human user.
I agree that a clarification would be helpful to understand to make sense
of the description. I just don't want it to be interpreted as a formal
specification of when the field appears. That's why I'm not comfortable
with a claim such as "the field will always be present when X and Y".
What do you think of?
@item current-thread-id
The global id of the currently selected thread. This field is omitted if there
is no selected thread (for example, when the selected inferior is not running,
and therefore has no threads) or if a @var{thread-id} argument was passed to
the command.
> That said, I'm not going to argue. It's up to you.
Thanks,
Simon
next prev parent reply other threads:[~2017-04-12 21:13 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-12 18:06 [PATCH 1/2] Remove dead code and "current" field from MI thread output doc Simon Marchi
2017-04-12 18:07 ` [PATCH 2/2] doc: Improve documentation about MI thread output Simon Marchi
2017-04-12 18:17 ` Simon Marchi
2017-04-12 19:18 ` Eli Zaretskii
2017-04-12 19:26 ` Simon Marchi
2017-04-12 19:32 ` Eli Zaretskii
2017-04-12 20:10 ` Simon Marchi
2017-04-12 20:34 ` Eli Zaretskii
2017-04-12 21:13 ` Simon Marchi [this message]
2017-04-13 6:02 ` Eli Zaretskii
2017-04-22 1:57 ` Simon Marchi
2017-04-12 19:14 ` [PATCH 1/2] Remove dead code and "current" field from MI thread output doc Eli Zaretskii
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=e71b2333-e047-cfa2-2e7e-2d3df7d840b4@ericsson.com \
--to=simon.marchi@ericsson.com \
--cc=eliz@gnu.org \
--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