diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-30 19:01:58 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-30 19:01:58 +0000 |
commit | 5519412f3106fc98b33f2a1daa404ac214176637 (patch) | |
tree | 2f9ae577f446e2df7bdc4c485d4ca512a55a9a32 /gcc/collect2.c | |
parent | 01fea1ebabc310529db6117087939b33b848a90c (diff) | |
download | gcc-5519412f3106fc98b33f2a1daa404ac214176637.tar.gz |
PR other/6955
* collect2.c (collect_wait): Use WCOREDUMP and fix output message.
* system.h (WCOREDUMP, WCOREFLG): Define if necessary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65048 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r-- | gcc/collect2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c index af97c2091f9..ca1fe92b1e2 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -1508,7 +1508,7 @@ collect_wait (prog) int sig = WTERMSIG (status); error ("%s terminated with signal %d [%s]%s", prog, sig, strsignal(sig), - status & 0200 ? "" : ", core dumped"); + WCOREDUMP(status) ? ", core dumped" : ""); collect_exit (FATAL_EXIT_CODE); } |