./run --tmux works again without --gem5-worktree, was looking for None/m5term

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-02-13 00:00:02 +00:00
parent 457a988486
commit 47bb44ec5b

4
run
View File

@@ -790,8 +790,8 @@ Extra options to append at the end of the emulator command line.
'-cpu', cpu, LF, '-cpu', cpu, LF,
]) ])
if self.env['tmux']: if self.env['tmux']:
tmux_args = "--gem5-worktree '{}' --run-id {}".format( tmux_args = "--gem5-build-id '{}' --run-id {}".format(
self.env['gem5_worktree'], self.env['gem5_build_id'],
self.env['run_id'] self.env['run_id']
) )
if self.env['tmux_program'] == 'shell': if self.env['tmux_program'] == 'shell':