Skip to content

Commit

Permalink
Update Ada tasks documentation
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tromey committed Nov 16, 2022
1 parent 92c1d07 commit 3971740
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion gdb/doc/gdb.texinfo
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3971740

Please sign in to comment.