2003-06-09 Roland McGrath <roland@redhat.com>

* strace.c (trace): Print a message and newline for a WIFEXITED report
	from the process we just printed an unterminated syscall line for.
This commit is contained in:
Roland McGrath 2003-06-10 03:05:53 +00:00
parent 0f87c4972f
commit 0a39690698

View File

@ -2031,6 +2031,13 @@ Process %d attached (waiting for parent)\n",
fprintf(stderr,
"PANIC: attached pid %u exited\n",
pid);
if (tcp == tcp_last) {
if ((tcp->flags & (TCB_INSYSCALL|TCB_REPRINT))
== TCB_INSYSCALL)
tprintf(" <unfinished ... exit status %d>\n",
WEXITSTATUS(status));
tcp_last = NULL;
}
#ifdef TCB_GROUP_EXITING
handle_group_exit(tcp, -1);
#else