aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/gdb/gdb_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/gdb/gdb_main.c b/sys/gdb/gdb_main.c
index 813d6b7173b4..3ba3dbf00c9b 100644
--- a/sys/gdb/gdb_main.c
+++ b/sys/gdb/gdb_main.c
@@ -46,7 +46,8 @@ static dbbe_trap_f gdb_trap;
KDB_BACKEND(gdb, gdb_init, NULL, gdb_trap);
-GDB_DBGPORT(null, NULL, NULL, NULL, NULL, NULL, NULL);
+static struct gdb_dbgport null_gdb_dbgport;
+DATA_SET(gdb_dbgport_set, null_gdb_dbgport);
SET_DECLARE(gdb_dbgport_set, struct gdb_dbgport);
struct gdb_dbgport *gdb_cur = NULL;