Index: gdb-8.2/gdb/inflow.c =================================================================== --- gdb-8.2.orig/gdb/inflow.c +++ gdb-8.2/gdb/inflow.c @@ -544,8 +544,8 @@ void child_interrupt (struct target_ops *self) { /* Interrupt the first inferior that has a resumed thread. */ - thread_info *thr; - thread_info *resumed = NULL; + struct thread_info *thr; + struct thread_info *resumed = NULL; ALL_NON_EXITED_THREADS (thr) { if (thr->executing)