Index: gdb-8.2/gdb/python/py-threadevent.c =================================================================== --- gdb-8.2.orig/gdb/python/py-threadevent.c +++ gdb-8.2/gdb/python/py-threadevent.c @@ -29,7 +29,7 @@ py_get_event_thread (ptid_t ptid) if (non_stop) { - thread_info *thread = find_thread_ptid (ptid); + struct thread_info *thread = find_thread_ptid (ptid); if (thread != nullptr) pythread = (PyObject *) thread_to_thread_object (thread); }