Index: gdb-8.2/gdb/ada-tasks.c =================================================================== --- gdb-8.2.orig/gdb/ada-tasks.c +++ gdb-8.2/gdb/ada-tasks.c @@ -292,7 +292,7 @@ get_ada_tasks_inferior_data (struct infe if the task could not be found. */ int -ada_get_task_number (thread_info *thread) +ada_get_task_number (struct thread_info *thread) { int i; struct inferior *inf = thread->inf; @@ -1124,7 +1124,7 @@ print_ada_task_info (struct ui_out *uiou /* Print the associated Thread ID. */ if (uiout->is_mi_like_p ()) { - thread_info *thread = find_thread_ptid (task_info->ptid); + struct thread_info *thread = find_thread_ptid (task_info->ptid); if (thread != NULL) uiout->field_int ("thread-id", thread->global_num); @@ -1326,7 +1326,7 @@ task_command_1 (const char *taskno_str, computed if target_get_ada_task_ptid has not been implemented for our target (yet). Rather than cause an assertion error in that case, it's nicer for the user to just refuse to perform the task switch. */ - thread_info *tp = find_thread_ptid (task_info->ptid); + struct thread_info *tp = find_thread_ptid (task_info->ptid); if (tp == NULL) error (_("Unable to compute thread ID for task %d.\n" "Cannot switch to this task."),