aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-tasks.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-03-12 22:53:38 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-03-12 22:53:38 +0000
commit680f3fadee04f4243dc604da6cda111a4d087ffe (patch)
tree0872cf14203ac35d621c2310d03a7dcb3c488c0c /gdb/ada-tasks.c
parent2ab1c2d9363e668a724ec76119de9d85f50a7809 (diff)
downloadgdb-680f3fadee04f4243dc604da6cda111a4d087ffe.zip
gdb-680f3fadee04f4243dc604da6cda111a4d087ffe.tar.gz
gdb-680f3fadee04f4243dc604da6cda111a4d087ffe.tar.bz2
* ada-tasks.c (task_states,long_task_states): Add new states
Activating and Acceptor_Delay_Sleep. Update the description of state Acceptor_Sleep.
Diffstat (limited to 'gdb/ada-tasks.c')
-rw-r--r--gdb/ada-tasks.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/gdb/ada-tasks.c b/gdb/ada-tasks.c
index d51291b..599a17b 100644
--- a/gdb/ada-tasks.c
+++ b/gdb/ada-tasks.c
@@ -49,7 +49,9 @@ enum task_states
Timer_Server_Sleep,
AST_Server_Sleep,
Asynchronous_Hold,
- Interrupt_Server_Blocked_On_Event_Flag
+ Interrupt_Server_Blocked_On_Event_Flag,
+ Activating,
+ Acceptor_Delay_Sleep
};
/* A short description corresponding to each possible task state. */
@@ -58,7 +60,7 @@ static const char *task_states[] = {
N_("Runnable"),
N_("Terminated"),
N_("Child Activation Wait"),
- N_("Accept Statement"),
+ N_("Accept or Select Term"),
N_("Waiting on entry call"),
N_("Async Select Wait"),
N_("Delay Sleep"),
@@ -69,7 +71,9 @@ static const char *task_states[] = {
"",
"",
N_("Asynchronous Hold"),
- ""
+ "",
+ N_("Activating"),
+ N_("Selective Wait")
};
/* A longer description corresponding to each possible task state. */
@@ -78,7 +82,7 @@ static const char *long_task_states[] = {
N_("Runnable"),
N_("Terminated"),
N_("Waiting for child activation"),
- N_("Blocked in accept statement"),
+ N_("Blocked in accept or select with terminate"),
N_("Waiting on entry call"),
N_("Asynchronous Selective Wait"),
N_("Delay Sleep"),
@@ -89,7 +93,9 @@ static const char *long_task_states[] = {
"",
"",
N_("Asynchronous Hold"),
- ""
+ "",
+ N_("Activating"),
+ N_("Blocked in selective wait statement")
};
/* The index of certain important fields in the Ada Task Control Block