Don't coredump without --debug

git-svn-id: file://localhost/svn/verilator/trunk/verilator@807 77ca24e4-aefa-0310-84f0-b9a241c72d87
This commit is contained in:
Wilson Snyder 2006-10-04 15:46:13 +00:00
parent fa3e03e071
commit a46a556a64
2 changed files with 11 additions and 2 deletions

View File

@ -3,6 +3,10 @@ Revision history for Verilator
The contributors that suggested a given feature are shown in []. [by ...] The contributors that suggested a given feature are shown in []. [by ...]
indicates the contributor was also the author of the fix; Thanks! 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 * Verilator 3.620 10/04/2006
*** Support simple inout task ports. [Eugene Weber] *** Support simple inout task ports. [Eugene Weber]

View File

@ -268,8 +268,13 @@ void V3Error::v3errorEnd (ostringstream& sstr) {
} }
#endif #endif
} }
if (V3Error::debugDefault()) {
cerr<<msgPrefix()<<"Aborting since under --debug"<<endl;
abort(); abort();
// exit(10); } else {
exit(10);
}
} }
} }
} }