systemc: Add some nonstandard (get|set)_catch_actions functions.
authorGabe Black <gabeblack@google.com>
Sat, 16 Jun 2018 01:07:05 +0000 (18:07 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 22 Aug 2018 01:05:20 +0000 (01:05 +0000)
These are used by the tests.

Change-Id: I09bbe81854f0faa524a4c6aa0ef31d80e4a8de24
Reviewed-on: https://gem5-review.googlesource.com/11265
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

src/systemc/ext/utils/sc_report_handler.hh
src/systemc/utils/sc_report_handler.cc

index 6101e2b729b3bf7a035132af9384f8f6ab85d793..aa0b1c99df99ac277251d7ba0df2b701f501528c 100644 (file)
@@ -95,6 +95,9 @@ class sc_report_handler
     static sc_actions force(sc_actions);
     static sc_actions force();
 
+    static sc_actions set_catch_actions(sc_actions);
+    static sc_actions get_catch_actions();
+
     static void set_handler(sc_report_handler_proc);
     static void default_handler(const sc_report &, const sc_actions &);
     static sc_actions get_new_action_id();
index 319851b2b3c2a4288a9965fa48ae0ab5bce635a7..0faf995f570cab6a2d1046f55570965263d81074 100644 (file)
@@ -161,6 +161,21 @@ sc_report_handler::force()
 }
 
 
+sc_actions
+sc_report_handler::set_catch_actions(sc_actions)
+{
+    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+    return SC_UNSPECIFIED;
+}
+
+sc_actions
+sc_report_handler::get_catch_actions()
+{
+    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+    return SC_UNSPECIFIED;
+}
+
+
 void
 sc_report_handler::set_handler(sc_report_handler_proc)
 {