aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-03-31 16:31:24 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-03-31 16:31:24 +0000
commit4a5a99175a3e523546ec06195caecf3a10551ac6 (patch)
tree540b0af2ff5b9c0c72f3b9a5d8a4127bbd165e1a
parentbad34192e56554fda247b1d0c72cfb18bc7f83bf (diff)
downloadgdb-4a5a99175a3e523546ec06195caecf3a10551ac6.zip
gdb-4a5a99175a3e523546ec06195caecf3a10551ac6.tar.gz
gdb-4a5a99175a3e523546ec06195caecf3a10551ac6.tar.bz2
* ada-tasks.c (short_task_info): Eliminate the "Running" task state.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/ada-tasks.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f6c6bd2..046fd19 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2009-03-31 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-tasks.c (short_task_info): Eliminate the "Running" task state.
+
2009-03-31 Pedro Alves <pedro@codesourcery.com>
* remote.c (remote_notice_new_inferior): Use ptid_is_pid. Check
diff --git a/gdb/ada-tasks.c b/gdb/ada-tasks.c
index d0ce5ab..7504491 100644
--- a/gdb/ada-tasks.c
+++ b/gdb/ada-tasks.c
@@ -711,9 +711,6 @@ short_task_info (int taskno)
else if (task_info->state == Entry_Caller_Sleep && task_info->called_task)
printf_filtered (_(" Waiting on RV with %-3d"),
get_task_number_from_id (task_info->called_task));
- else if (task_info->state == Runnable && active_task_p)
- /* Replace "Runnable" by "Running" since this is the active task. */
- printf_filtered (" %-22s", _("Running"));
else
printf_filtered (" %-22s", _(task_states[task_info->state]));