systemc: Change the default "catch action" to SC_DISPLAY.
authorGabe Black <gabeblack@google.com>
Fri, 5 Oct 2018 23:45:29 +0000 (16:45 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 16 Oct 2018 00:59:20 +0000 (00:59 +0000)
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>

src/systemc/utils/sc_report_handler.cc

index 1ca9d975d7994fbdbb28769dec2f2da45ef6a055..41bf8e8dda0f6c79ce48af4bbab11d057fffff91 100644 (file)
@@ -92,7 +92,7 @@ int verbosityLevel = SC_MEDIUM;
 
 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;