Gabe Black has submitted this change and it was merged. (
https://gem5-review.googlesource.com/c/public/gem5/+/11265 )
Change subject: systemc: Add some nonstandard (get|set)_catch_actions
functions.
......................................................................
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 <[email protected]>
Maintainer: Gabe Black <[email protected]>
---
M src/systemc/ext/utils/sc_report_handler.hh
M src/systemc/utils/sc_report_handler.cc
2 files changed, 18 insertions(+), 0 deletions(-)
Approvals:
Gabe Black: Looks good to me, approved; Looks good to me, approved
diff --git a/src/systemc/ext/utils/sc_report_handler.hh
b/src/systemc/ext/utils/sc_report_handler.hh
index 6101e2b..aa0b1c9 100644
--- a/src/systemc/ext/utils/sc_report_handler.hh
+++ b/src/systemc/ext/utils/sc_report_handler.hh
@@ -95,6 +95,9 @@
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();
diff --git a/src/systemc/utils/sc_report_handler.cc
b/src/systemc/utils/sc_report_handler.cc
index 319851b..0faf995 100644
--- a/src/systemc/utils/sc_report_handler.cc
+++ b/src/systemc/utils/sc_report_handler.cc
@@ -161,6 +161,21 @@
}
+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)
{
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/11265
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I09bbe81854f0faa524a4c6aa0ef31d80e4a8de24
Gerrit-Change-Number: 11265
Gerrit-PatchSet: 6
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Giacomo Travaglini <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: Matthias Jung <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev