Tell others to leave our port alone
[reactos.git] / reactos / ntoskrnl / kd / wrappers / gdbstub.c
index 4c583a8..d9b53c4 100644 (file)
@@ -1755,6 +1755,8 @@ KdpGdbStubInit(PKD_DISPATCH_TABLE WrapperTable,
 
       /* Initialize the Port */
       KdPortInitializeEx(&GdbPortInfo, 0, 0);
+
+      KdpPort = GdbPortInfo.ComPort;
     }
   else if (BootPhase == 1)
     {