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:
parent
0f87c4972f
commit
0a39690698
7
strace.c
7
strace.c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user