Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/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
---
M src/systemc/ext/utils/sc_report_handler.hh
M src/systemc/utils/sc_report_handler.cc
2 files changed, 18 insertions(+), 0 deletions(-)



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/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: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to