mirror of
https://github.com/ipxe/ipxe
synced 2025-12-27 10:02:42 +03:00
[GDB] Remote debugging over UDP
This commit implements GDB over UDP. Using UDP is more complex than serial and has required some restructuring. The GDB stub is now built using one or both of GDBSERIAL and GDBUDP config.h options. To enter the debugger, execute the gPXE shell command: gdbstub <transport> [<options>...] Where <transport> is "serial" or "udp". For "udp", the name of a configured network device is required: gdbstub udp net0 The GDB stub listens on UDP port 43770 by default.
This commit is contained in:
committed by
Michael Brown
parent
9ec3ff95f0
commit
6e670b5f38
@@ -163,7 +163,9 @@
|
||||
#undef BUILD_ID /* Include a custom build ID string,
|
||||
* e.g "test-foo" */
|
||||
#undef NULL_TRAP /* Attempt to catch NULL function calls */
|
||||
#undef GDBSTUB /* Remote GDB debugging */
|
||||
#undef GDBSERIAL /* Remote GDB debugging over serial */
|
||||
#undef GDBUDP /* Remote GDB debugging over UDP
|
||||
* (both may be set) */
|
||||
|
||||
/* @END general.h */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user