)]}' { "commit": "a0c0ab8c0776902945e03299e14fdca74404cf39", "tree": "6face98339ff7d23439eea1f866be0b72a086b19", "parents": [ "53cbc6b9e3b90e5ca902a7da17b5d35f73f8f5d4" ], "author": { "name": "Gabe Black", "email": "gabeblack@google.com", "time": "Wed Feb 13 22:30:02 2019 -0800" }, "committer": { "name": "Gabe Black", "email": "gabeblack@google.com", "time": "Thu Feb 21 22:34:15 2019 +0000" }, "message": "systemc: Handle exceptions \"correctly\" even if sc_main hasn\u0027t been run.\n\nIf sc_main hasn\u0027t run, for instance if there isn\u0027t an sc_main and gem5\nis orchestrating the simulation directly, then exceptions shouldn\u0027t be\nthrown to the sc_main fiber since it isn\u0027t running and may not be able\nto run since sc_main may not even exist.\n\nInstead, we need to check whether it makes sense to throw to sc_main,\nand if not pass the exception directly to the report handler since\nthere likely won\u0027t be anyone to catch it if we just throw it from the\nscheduler or into general purpose gem5.\n\nSince the name throwToScMain is no longer a complete description for\nwhat that function does, this change renames it to throwUp, since it\nwill now throw exceptions up the stack, either to sc_main or to the\nconceptual top level by going directly to the report handler.\n\nChange-Id: Ibdc92c9cf213ec6aa15ad654862057b7bf2e1c8e\nReviewed-on: https://gem5-review.googlesource.com/c/16442\nReviewed-by: Andreas Sandberg \u003candreas.sandberg@arm.com\u003e\nMaintainer: Gabe Black \u003cgabeblack@google.com\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "2fd3027da8f34b25caa1695da02c559f09f2481c", "old_mode": 33188, "old_path": "src/systemc/core/kernel.cc", "new_id": "13e69d1f4b086f9668df4d952f50e80f35765619", "new_mode": 33188, "new_path": "src/systemc/core/kernel.cc" }, { "type": "modify", "old_id": "1361e9745bca04645b6c248d0a5433fab38bfc53", "old_mode": 33188, "old_path": "src/systemc/core/process_types.hh", "new_id": "c14ec1f4fdbd26a0a227eeaf9985d797b5771f11", "new_mode": 33188, "new_path": "src/systemc/core/process_types.hh" }, { "type": "modify", "old_id": "465da552f6b6be6666812252fda41867ca443265", "old_mode": 33188, "old_path": "src/systemc/core/scheduler.cc", "new_id": "4b566ca2077c2bfb243459d510b52900573dcb0c", "new_mode": 33188, "new_path": "src/systemc/core/scheduler.cc" }, { "type": "modify", "old_id": "64841086d72cfcc65b236423f932a70b2a345bae", "old_mode": 33188, "old_path": "src/systemc/core/scheduler.hh", "new_id": "63f6ac35d97b402465e7dc9ba263523efbfca47b", "new_mode": 33188, "new_path": "src/systemc/core/scheduler.hh" } ] }