1 #ifndef _IPXE_GDBUDP_H 2 #define _IPXE_GDBUDP_H 3 4 /** @file 5 * 6 * GDB remote debugging over UDP 7 * 8 */ 9 10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); 11 12 struct sockaddr_in; 13 struct gdb_transport; 14 15 /** 16 * Set up the UDP transport with network address 17 * 18 * @name network device name 19 * @addr IP address and UDP listen port, may be NULL and fields may be zero 20 * @ret transport suitable for starting the GDB stub or NULL on error 21 */ 22 struct gdb_transport *gdbudp_configure ( const char *name, struct sockaddr_in *addr ); 23 24 #endif /* _IPXE_GDBUDP_H */ 25