aboutsummaryrefslogtreecommitdiffstats
path: root/gpxe/src/include/gpxe/gdbstub.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/include/gpxe/gdbstub.h')
-rw-r--r--gpxe/src/include/gpxe/gdbstub.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gpxe/src/include/gpxe/gdbstub.h b/gpxe/src/include/gpxe/gdbstub.h
index bf5d24d2..8f9b7c1d 100644
--- a/gpxe/src/include/gpxe/gdbstub.h
+++ b/gpxe/src/include/gpxe/gdbstub.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/tables.h>
#include <gdbmach.h>
@@ -45,7 +47,9 @@ struct gdb_transport {
void ( * send ) ( const char *buf, size_t len );
};
-#define __gdb_transport __table ( struct gdb_transport, gdb_transports, 01 )
+#define GDB_TRANSPORTS __table ( struct gdb_transport, "gdb_transports" )
+
+#define __gdb_transport __table_entry ( GDB_TRANSPORTS, 01 )
/**
* Look up GDB transport by name