Skip to content

Commit

Permalink
boot-qemu.py: Fix GDB check in QEMURunner
Browse files Browse the repository at this point in the history
This has been broken for an embarrassingly long time...

Fixes: 09a59ca ("boot-qemu.py: Do not make gdb imply interactive")
Signed-off-by: Nathan Chancellor <[email protected]>
  • Loading branch information
nathanchance committed Jan 31, 2024
1 parent 2cba5d5 commit f7f065e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot-qemu.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def run(self):
] # yapf: disable

# Kernel options
if self.interactive or args.gdb:
if self.interactive or self.gdb:
self.cmdline.append('rdinit=/bin/sh')
if self.gdb:
self.cmdline.append('nokaslr')
Expand Down

0 comments on commit f7f065e

Please sign in to comment.