In the scenario of debugging a remote target running a custom RTOS, what would be necessary to add thread support to GDB?
In my case I have access to the RTOS sources and debug info for all its scheduler's symbols, so theoretically the information is accessible.
Would this imply recompiling GDB? Adding hooks to thread-related commands?
Any commentary will be greatly appreciated!