* [PATCH] Update Ada tasks documentation
@ 2022-11-15 17:13 Tom Tromey
2022-11-15 18:04 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Tom Tromey @ 2022-11-15 17:13 UTC (permalink / raw)
To: gdb-patches; +Cc: Tom Tromey
My co-worker Kévin noticed that the Ada tasks documentation is
slightly out of date -- it does not document all the states that can
be reported by ada-tasks.c.
This patch adds the missing states to the appropriate node, and
updates one state to reflect a change made some time ago.
---
gdb/doc/gdb.texinfo | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index ea66f4ee42d..0b708b9f801 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -18858,7 +18858,7 @@ terminated themselves.
@item Child Activation Wait
The task is waiting for created tasks to complete activation.
-@item Accept Statement
+@item Accept or Select Term
The task is waiting on an accept or selective wait statement.
@item Waiting on entry call
@@ -18881,8 +18881,20 @@ waiting on a terminate Phase.
The task is sleeping waiting for tasks on terminate alternatives to
finish terminating.
+@item Asynchronous Hold
+The task has been held by @code{Ada.Asynchronous_Task_Control.Hold_Task}.
+
+@item Activating
+The task has been created and is being made runnable.
+
+@item Selective Wait
+The task is waiting in a selective wait statement.
+
@item Accepting RV with @var{taskno}
The task is accepting a rendez-vous with the task @var{taskno}.
+
+@item Waiting on RV with @var{taskno}
+The task is waiting for a rendez-vous with the task @var{taskno}.
@end table
@item Name
--
2.34.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Update Ada tasks documentation
2022-11-15 17:13 [PATCH] Update Ada tasks documentation Tom Tromey
@ 2022-11-15 18:04 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2022-11-15 18:04 UTC (permalink / raw)
To: Tom Tromey; +Cc: gdb-patches
> Cc: Tom Tromey <tromey@adacore.com>
> Date: Tue, 15 Nov 2022 10:13:00 -0700
> From: Tom Tromey via Gdb-patches <gdb-patches@sourceware.org>
>
> My co-worker Kévin noticed that the Ada tasks documentation is
> slightly out of date -- it does not document all the states that can
> be reported by ada-tasks.c.
>
> This patch adds the missing states to the appropriate node, and
> updates one state to reflect a change made some time ago.
Thanks, this is OK, assuming the Ada parts are correct.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-15 18:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-15 17:13 [PATCH] Update Ada tasks documentation Tom Tromey
2022-11-15 18:04 ` Eli Zaretskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).