rasty1 wrote on Friday, July 15, 2016:
But it is not what I’m looking for.
Few years ago OpenOCD started with parsing FreeRTOS TCB and stack and passing this data to GDB,
I tried to play with it, but gave up at the end. Maybe today it works out of the box.
It is really nice to see stack frames and tasks states, but I’d like to attach to a thread and debug it rather than stopping whole system. This would be a big advantage for complex applications.
I “discovered” FreeRTOS in 2007 for ARM7.
I took idea from VxWorks and wrote a primitive stack parser and added symbol table and lookup and was able to see thread call stack at the run time from embedded shell. This was very helpfull to debug dead-end loops and dead-locks.