From a46a556a64ce0beab88dd4e30d7978fa8350f53f Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Wed, 4 Oct 2006 15:46:13 +0000 Subject: [PATCH] Don't coredump without --debug git-svn-id: file://localhost/svn/verilator/trunk/verilator@807 77ca24e4-aefa-0310-84f0-b9a241c72d87 --- Changes | 4 ++++ src/V3Error.cpp | 9 +++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 7f6b3cd1d..5ca963dd6 100644 --- a/Changes +++ b/Changes @@ -3,6 +3,10 @@ Revision history for Verilator The contributors that suggested a given feature are shown in []. [by ...] indicates the contributor was also the author of the fix; Thanks! +* Verilator 3.62** + +**** Don't core dump on errors when not under --debug. [Allan Cochrane] + * Verilator 3.620 10/04/2006 *** Support simple inout task ports. [Eugene Weber] diff --git a/src/V3Error.cpp b/src/V3Error.cpp index a1c677d0d..0eb6f8840 100644 --- a/src/V3Error.cpp +++ b/src/V3Error.cpp @@ -268,8 +268,13 @@ void V3Error::v3errorEnd (ostringstream& sstr) { } #endif } - abort(); -// exit(10); + + if (V3Error::debugDefault()) { + cerr<