From f7f065ed1898aaaea5f797312f9f075fbd5cc4d2 Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Wed, 31 Jan 2024 16:56:41 -0700 Subject: [PATCH] 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 --- boot-qemu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot-qemu.py b/boot-qemu.py index 28b717b..60377c8 100755 --- a/boot-qemu.py +++ b/boot-qemu.py @@ -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')