GDBSERIAL
Configured via config/general.h.
#define GDBSERIAL /* Remote GDB debugging over serial */
#define GDBSERIAL /* Remote GDB debugging over serial */ #define GDBUDP /* Remote GDB debugging over UDP */
This build option enables support for the command gdbstub and for debugging iPXE using GDB attached via a serial port.
gdbstub command