commit | 98b74c4e51f7cb573ec93d22d0def4ee12aa0c7f | [log] [tgz] |
---|---|---|
author | Gabe Black <gabeblack@google.com> | Fri Oct 05 16:45:29 2018 -0700 |
committer | Gabe Black <gabeblack@google.com> | Tue Oct 16 00:59:20 2018 +0000 |
tree | 3be4725bc01d949a21204295a9b908e936c6655e | |
parent | 77d9e3bcf3a74fabeed3209bb4ce78e35d1b1f47 [diff] |
systemc: Change the default "catch action" to SC_DISPLAY. There is a test which checks what it was and asserts if it's something else. Change-Id: I114c0a38c9fa69544416a4d1b555bb87e6246efd Reviewed-on: https://gem5-review.googlesource.com/c/13306 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
diff --git a/src/systemc/utils/sc_report_handler.cc b/src/systemc/utils/sc_report_handler.cc index 1ca9d97..41bf8e8 100644 --- a/src/systemc/utils/sc_report_handler.cc +++ b/src/systemc/utils/sc_report_handler.cc
@@ -92,7 +92,7 @@ sc_actions suppressedActions = SC_UNSPECIFIED; sc_actions forcedActions = SC_UNSPECIFIED; -sc_actions catchActions = SC_UNSPECIFIED; +sc_actions catchActions = SC_DISPLAY; sc_report_handler_proc reportHandlerProc = &sc_report_handler::default_handler;