* gdb.texinfo (Ada Tasks): Remove the documentation about

the "Running" state, as this state has been eliminated.
        Now all runnable tasks are shown as "Runnable".
This commit is contained in:
Joel Brobecker 2009-03-31 16:33:37 +00:00
parent 4a5a99175a
commit 32cd1edcd2
2 changed files with 10 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2009-03-31 Joel Brobecker <brobecker@adacore.com>
* gdb.texinfo (Ada Tasks): Remove the documentation about
the "Running" state, as this state has been eliminated.
Now all runnable tasks are shown as "Runnable".
2009-03-30 Stan Shebs <stan@codesourcery.com>
* gdb.texinfo (Tracepoints): Describe tracepoints as a

View File

@ -11614,7 +11614,7 @@ This command shows a list of current Ada tasks, as in the following example:
1 8088000 0 15 Child Activation Wait main_task
2 80a4000 1 15 Accept Statement b
3 809a800 1 15 Child Activation Wait a
* 4 80ae800 3 15 Running c
* 4 80ae800 3 15 Runnable c
@end smallexample
@ -11643,9 +11643,6 @@ Current state of the task.
The task has been created but has not been activated. It cannot be
executing.
@item Running
The task currently running.
@item Runnable
The task is not blocked for any reason known to Ada. (It may be waiting
for a mutex, though.) It is conceptually "executing" in normal mode.
@ -11701,7 +11698,7 @@ the following example:
(@value{GDBP}) info tasks
ID TID P-ID Pri State Name
1 8077880 0 15 Child Activation Wait main_task
* 2 807c468 1 15 Running task_1
* 2 807c468 1 15 Runnable task_1
(@value{GDBP}) info task 2
Ada Task: 0x807c468
Name: task_1
@ -11723,7 +11720,7 @@ This command prints the ID of the current task.
(@value{GDBP}) info tasks
ID TID P-ID Pri State Name
1 8077870 0 15 Child Activation Wait main_task
* 2 807c458 1 15 Running t
* 2 807c458 1 15 Runnable t
(@value{GDBP}) task
[Current task is 2]
@end smallexample
@ -11741,7 +11738,7 @@ from the current task to the given task.
(@value{GDBP}) info tasks
ID TID P-ID Pri State Name
1 8077870 0 15 Child Activation Wait main_task
* 2 807c458 1 15 Running t
* 2 807c458 1 15 Runnable t
(@value{GDBP}) task 1
[Switching to task 1]
#0 0x8067726 in pthread_cond_wait ()