summaryrefslogtreecommitdiff
path: root/src/systemc/utils
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-06-15 18:07:05 -0700
committerGabe Black <gabeblack@google.com>2018-08-22 01:05:20 +0000
commitfc008a085db4685b0403f472478287111bed8d18 (patch)
treed0915ceaabde74de4a3a4522820cf1b44254c699 /src/systemc/utils
parent5a4d84ed6346151933a065a45d470286ace7ccbd (diff)
downloadgem5-fc008a085db4685b0403f472478287111bed8d18.tar.xz
systemc: Add some nonstandard (get|set)_catch_actions functions.
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>
Diffstat (limited to 'src/systemc/utils')
-rw-r--r--src/systemc/utils/sc_report_handler.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/systemc/utils/sc_report_handler.cc b/src/systemc/utils/sc_report_handler.cc
index 319851b2b..0faf995f5 100644
--- a/src/systemc/utils/sc_report_handler.cc
+++ b/src/systemc/utils/sc_report_handler.cc
@@ -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)
{