Index: gdb-8.2/gdb/infcmd.c =================================================================== --- gdb-8.2.orig/gdb/infcmd.c +++ gdb-8.2/gdb/infcmd.c @@ -444,7 +444,7 @@ post_create_inferior (struct target_ops /* Now that we know the register layout, retrieve current PC. But if the PC is unavailable (e.g., we're opening a core file with missing registers info), ignore it. */ - thread_info *thr = inferior_thread (); + struct thread_info *thr = inferior_thread (); thr->suspend.stop_pc = 0; TRY @@ -2094,7 +2094,7 @@ info_program_command (const char *args, if (ptid == null_ptid) error (_("No selected thread.")); - thread_info *tp = find_thread_ptid (ptid); + struct thread_info *tp = find_thread_ptid (ptid); if (tp->state == THREAD_EXITED) error (_("Invalid selected thread.")); @@ -2940,7 +2940,7 @@ attach_command (const char *args, int fr as stopped. */ void -notice_new_inferior (thread_info *thr, int leave_running, int from_tty) +notice_new_inferior (struct thread_info *thr, int leave_running, int from_tty) { enum attach_post_wait_mode mode = leave_running ? ATTACH_POST_WAIT_RESUME : ATTACH_POST_WAIT_NOTHING;