mirror of
https://github.com/verilator/verilator.git
synced 2025-04-05 04:02:37 +00:00
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:
parent
fa3e03e071
commit
a46a556a64
4
Changes
4
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]
|
||||
|
@ -268,8 +268,13 @@ void V3Error::v3errorEnd (ostringstream& sstr) {
|
||||
}
|
||||
#endif
|
||||
}
|
||||
abort();
|
||||
// exit(10);
|
||||
|
||||
if (V3Error::debugDefault()) {
|
||||
cerr<<msgPrefix()<<"Aborting since under --debug"<<endl;
|
||||
abort();
|
||||
} else {
|
||||
exit(10);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user