From 74b3672deaf51ff48a124797000373047ef1d398 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Sun, 5 May 2019 00:00:00 +0000 Subject: [PATCH] gem5: --debug-flags without =, looks nicer whenever it can be done --- run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run b/run index 1a69392..e0b812c 100755 --- a/run +++ b/run @@ -407,7 +407,7 @@ Extra options to append at the end of the emulator command line. memory = '{}B'.format(self.env['memory']) gem5_exe_args = self.sh.shlex_split(self.env['gem5_exe_args']) if do_trace: - gem5_exe_args.extend(['--debug-flags={}'.format(trace_type), LF]) + gem5_exe_args.extend(['--debug-flags', trace_type, LF]) extra_env['M5_PATH'] = self.env['gem5_system_dir'] # https://stackoverflow.com/questions/52312070/how-to-modify-a-file-under-src-python-and-run-it-without-rebuilding-in-gem5/52312071#52312071 extra_env['M5_OVERRIDE_PY_SOURCE'] = 'true'