Skip to content
Commit a01877c6 authored by Alp Sayin's avatar Alp Sayin Committed by Carles Cufí
Browse files

cmake: emu: qemu: start QEMU gdbserver only if relevant Kconfig is set



This removes the enforced `-s` option and only passes in a `-gdb` only if
CONFIG_QEMU_GDBSERVER_LISTEN_DEV is set. When unset, it allows users to
utilize QEMU_EXTRA_FLAGS from environment preventing a clash that occurs
if `-s` and `-gdb` are both passed to QEMU invocation.

Signed-off-by: default avatarAlp Sayin <alpsayin@gmail.com>
parent 291ddc0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment