Gabe Black has uploaded a new patch set (#2). (
https://gem5-review.googlesource.com/c/public/gem5/+/13307 )
Change subject: systemc: Use the "catch action" and the handler func
outside sc_main.
......................................................................
systemc: Use the "catch action" and the handler func outside sc_main.
If an exception escapes sc_main, Accellera catches it and feeds it
into the report handler, telling it to run the catch actions. This
seems like it sets up lots of dangerous scenarios, and also makes a
vital error detecting path more complex and error prone.
On the other hand, it makes one of the tests pass.
Change-Id: I7f9d07e01e63c7abeee903febe2e434041ec49a4
---
M src/systemc/core/sc_main.cc
M src/systemc/tests/config.py
2 files changed, 7 insertions(+), 3 deletions(-)
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/13307
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: I7f9d07e01e63c7abeee903febe2e434041ec49a4
Gerrit-Change-Number: 13307
Gerrit-PatchSet: 2
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newpatchset
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev