Skip to content

Commit f7f065e

Browse files
committed
boot-qemu.py: Fix GDB check in QEMURunner
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 <nathan@kernel.org>
1 parent 2cba5d5 commit f7f065e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

boot-qemu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def run(self):
283283
] # yapf: disable
284284

285285
# Kernel options
286-
if self.interactive or args.gdb:
286+
if self.interactive or self.gdb:
287287
self.cmdline.append('rdinit=/bin/sh')
288288
if self.gdb:
289289
self.cmdline.append('nokaslr')

0 commit comments

Comments
 (0)