I can see that OpenOCD is RTOS aware and it supports FreeRTOS, which I'm using at the moment.
I have looked at various sources and cannot seem to figure how to use this feature.
I can see that OpenOCD is RTOS aware and it supports FreeRTOS, which I'm using at the moment.
I have looked at various sources and cannot seem to figure how to use this feature.
Indeed the documentation for this amazing feature is rather poor, however there is a guide for ChibiOS. Basically this boils down to:
-rtos auto to {TARGET_NAME}.cpu configure in the Tcl configuration scriptgdb, where info threads is the probably the one you will use mostopenocd -f /usr/share/openocd/scripts/board/stm32f4discovery.cfg -c "stm32f4x.cpu configure -rtos auto"
\$\endgroup\$