Xenomai runtime: ensure that __DEBUG global variable is set when resuming debug.
--- a/targets/Xenomai/plc_Xenomai_main.c Thu Dec 16 08:15:34 2021 +0100
+++ b/targets/Xenomai/plc_Xenomai_main.c Thu Dec 16 08:32:58 2021 +0100
@@ -384,6 +384,7 @@
void resumeDebug(void)
{
+ __DEBUG = 1;
AtomicCompareExchange( &debug_state, DEBUG_BUSY, DEBUG_FREE);
}