From: Joel Brobecker Date: Tue, 31 Mar 2009 16:31:24 +0000 (+0000) Subject: * ada-tasks.c (short_task_info): Eliminate the "Running" task state. X-Git-Tag: sid-snapshot-20090401~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a5a99175a3e523546ec06195caecf3a10551ac6;p=external%2Fbinutils.git * ada-tasks.c (short_task_info): Eliminate the "Running" task state. --- 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 + + * ada-tasks.c (short_task_info): Eliminate the "Running" task state. + 2009-03-31 Pedro Alves * 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]));