Index: gdb-8.2/gdb/python/py-inferior.c =================================================================== --- gdb-8.2.orig/gdb/python/py-inferior.c +++ gdb-8.2/gdb/python/py-inferior.c @@ -307,7 +307,7 @@ find_inferior_object (int pid) } thread_object * -thread_to_thread_object (thread_info *thr) +thread_to_thread_object (struct thread_info *thr) { gdbpy_ref inf_obj (inferior_to_inferior_object (thr->inf)); if (inf_obj == NULL)