aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/ada-tasks.c16
2 files changed, 17 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cf51df0..0ae2a97 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2009-03-12 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-tasks.c (task_states,long_task_states): Add new states
+ Activating and Acceptor_Delay_Sleep. Update the description
+ of state Acceptor_Sleep.
+
2009-03-12 Jonas Maebe <jonas.maebe@elis.ugent.be> (obvious change)
Fix a build failure on Darwin following some changes in
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