summaryrefslogtreecommitdiff
path: root/src/dev
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-10-05 16:45:55 -0700
committerGabe Black <gabeblack@google.com>2018-10-16 00:59:54 +0000
commitcb1cd5af89548fa7132ae29ebd5e2a357bbaef73 (patch)
treee4d2028c34cc416d19fe304679f7bfbb0062f625 /src/dev
parent98b74c4e51f7cb573ec93d22d0def4ee12aa0c7f (diff)
downloadgem5-cb1cd5af89548fa7132ae29ebd5e2a357bbaef73.tar.xz
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 Reviewed-on: https://gem5-review.googlesource.com/c/13307 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/dev')
0 files changed, 0 insertions, 0 deletions