Some get_last_target_status tweaks
[deliverable/binutils-gdb.git] / gdb / linux-nat.c
index 4484fa5c87da4b1250ae7a71c33916e6b696d46c..a01839c70ade13652cb4df2d582fc5091720bbcb 100644 (file)
@@ -1315,10 +1315,9 @@ get_detach_signal (struct lwp_info *lp)
        }
       else if (!target_is_non_stop_p ())
        {
-         struct target_waitstatus last;
          ptid_t last_ptid;
 
-         get_last_target_status (&last_ptid, &last);
+         get_last_target_status (&last_ptid, nullptr);
 
          if (lp->ptid.lwp () == last_ptid.lwp ())
            signo = tp->suspend.stop_signal;
This page took 0.02354 seconds and 4 git commands to generate.