2003-12-15 Dmitry V. Levin <ldv@altlinux.org>
* strace.c (trace) [WCOREDUMP]: Show coredump status of the killed process if available.
This commit is contained in:
parent
5b7aa6866b
commit
2efe879fa8
8
strace.c
8
strace.c
@ -2022,8 +2022,12 @@ Process %d attached (waiting for parent)\n",
|
||||
if (!cflag
|
||||
&& (qual_flags[WTERMSIG(status)] & QUAL_SIGNAL)) {
|
||||
printleader(tcp);
|
||||
tprintf("+++ killed by %s +++",
|
||||
signame(WTERMSIG(status)));
|
||||
tprintf("+++ killed by %s %s+++",
|
||||
signame(WTERMSIG(status)),
|
||||
#ifdef WCOREDUMP
|
||||
WCOREDUMP(status) ? "(core dumped) " :
|
||||
#endif
|
||||
"");
|
||||
printtrailer(tcp);
|
||||
}
|
||||
#ifdef TCB_GROUP_EXITING
|
||||
|
Loading…
x
Reference in New Issue
Block a user