We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6b17f8f + 772eb24 commit 64b7d42Copy full SHA for 64b7d42
1 file changed
boot-qemu.py
@@ -754,6 +754,8 @@ def launch_qemu(cfg):
754
pretty_print_qemu_info(qemu_cmd[0])
755
756
if gdb:
757
+ utils.check_cmd(gdb_bin)
758
+
759
while True:
760
utils.check_cmd("lsof")
761
lsof = subprocess.run(["lsof", "-i:1234"],
@@ -766,7 +768,6 @@ def launch_qemu(cfg):
766
768
utils.green("Starting QEMU with GDB connection on port 1234...")
767
769
with subprocess.Popen(qemu_cmd + ["-s", "-S"]) as qemu_process:
770
utils.green("Starting GDB...")
- utils.check_cmd(gdb_bin)
771
gdb_cmd = [gdb_bin]
772
gdb_cmd += [kernel_location.joinpath("vmlinux")]
773
gdb_cmd += ["-ex", "target remote :1234"]
0 commit comments