*** empty log message ***
[binutils-gdb.git] / gdb / linux-nat.c
index e50594d125cefa963b77ef885bd2054715305328..fc9dafec21d1c22ba4eb69843e1bd52e1f328a8b 100644 (file)
@@ -1094,7 +1094,7 @@ status_to_str (int status)
     }
   else if (WIFSIGNALED (status))
     snprintf (buf, sizeof (buf), "%s (terminated)",
-             strsignal (WSTOPSIG (status)));
+             strsignal (WTERMSIG (status)));
   else
     snprintf (buf, sizeof (buf), "%d (exited)", WEXITSTATUS (status));