x86: Remove empty X86_FEATURE_1_AND property
[deliverable/binutils-gdb.git] / gdb / ada-tasks.c
index 04f286ed5610a3d25d8f6b11dea46c0ec92bda69..bd864c2d966c613cad52a4354def986f211095bf 100644 (file)
@@ -302,8 +302,7 @@ ada_get_task_number (thread_info *thread)
   data = get_ada_tasks_inferior_data (inf);
 
   for (i = 0; i < VEC_length (ada_task_info_s, data->task_list); i++)
-    if (ptid_equal (VEC_index (ada_task_info_s, data->task_list, i)->ptid,
-                   thread->ptid))
+    if (VEC_index (ada_task_info_s, data->task_list, i)->ptid == thread->ptid)
       return i + 1;
 
   return 0;  /* No matching task found.  */
@@ -370,7 +369,7 @@ ada_get_task_info_from_ptid (ptid_t ptid)
   for (i = 0; i < nb_tasks; i++)
     {
       task = VEC_index (ada_task_info_s, data->task_list, i);
-      if (ptid_equal (task->ptid, ptid))
+      if (task->ptid == ptid)
        return task;
     }
 
@@ -1111,7 +1110,7 @@ print_ada_task_info (struct ui_out *uiout,
 
       /* Print a star if this task is the current task (or the task
          currently selected).  */
-      if (ptid_equal (task_info->ptid, inferior_ptid))
+      if (task_info->ptid == inferior_ptid)
        uiout->field_string ("current", "*");
       else
        uiout->field_skip ("current");
This page took 0.023561 seconds and 4 git commands to generate.