gdb: create some automated tests with pytest

gem5 baremetal: use m5exit m5op in exit() so as to not force users to
apply a patch for almost all examples
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-11-08 19:00:06 +00:00
parent ed177345af
commit e0dbe2416d
20 changed files with 242 additions and 57 deletions

9
run
View File

@@ -152,12 +152,11 @@ def main(args, extra_args=None):
cmd.extend(
[
common.executable, common.Newline,
'--debug-file=trace.txt', common.Newline
'--debug-file=trace.txt', common.Newline,
'--listener-mode', 'on', common.Newline,
'--outdir', common.m5out_dir, common.Newline,
] +
gem5_exe_args +
[
'-d', common.m5out_dir, common.Newline
]
gem5_exe_args
)
if args.userland is not None:
cmd.extend([