From 32cd1edcd2a5540d88d5dff3743dc58090cb0bd8 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Tue, 31 Mar 2009 16:33:37 +0000 Subject: [PATCH] * 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". --- gdb/doc/ChangeLog | 6 ++++++ gdb/doc/gdb.texinfo | 11 ++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index aab4b06cc4..c015a4d1c2 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +2009-03-31 Joel Brobecker + + * 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 * gdb.texinfo (Tracepoints): Describe tracepoints as a diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 3135c18fad..a1c0b80965 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -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 () -- 2.34.1