gem5: test out panic_on_panic

patches: create patche/manual patch dir, put all patch directories under
patches/ subdir
This commit is contained in:
Ciro Santilli
2018-08-11 14:14:57 +01:00
parent fbbfe98bfd
commit 539b176e1d
11 changed files with 68 additions and 34 deletions

View File

@@ -0,0 +1,11 @@
diff --git a/configs/example/fs.py b/configs/example/fs.py
index 4031fd05e..0f502a34a 100644
--- a/configs/example/fs.py
+++ b/configs/example/fs.py
@@ -395,5 +395,6 @@ if buildEnv['TARGET_ISA'] == "arm" and options.generate_dtb:
sys = getattr(root, sysname)
sys.dtb_filename = create_dtb_for_system(sys, '%s.dtb' % sysname)
+test_sys.panic_on_panic = True
Simulation.setWorkCountOptions(test_sys, options)
Simulation.run(options, root, test_sys, FutureClass)