summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/gdbudp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe/gdbudp.h')
-rw-r--r--src/include/ipxe/gdbudp.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/include/ipxe/gdbudp.h b/src/include/ipxe/gdbudp.h
new file mode 100644
index 00000000..db7a451c
--- /dev/null
+++ b/src/include/ipxe/gdbudp.h
@@ -0,0 +1,24 @@
+#ifndef _IPXE_GDBUDP_H
+#define _IPXE_GDBUDP_H
+
+/** @file
+ *
+ * GDB remote debugging over UDP
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+struct sockaddr_in;
+struct gdb_transport;
+
+/**
+ * Set up the UDP transport with network address
+ *
+ * @name network device name
+ * @addr IP address and UDP listen port, may be NULL and fields may be zero
+ * @ret transport suitable for starting the GDB stub or NULL on error
+ */
+struct gdb_transport *gdbudp_configure ( const char *name, struct sockaddr_in *addr );
+
+#endif /* _IPXE_GDBUDP_H */