title: Is it possible to add support of a custom RTOS's threads to GDB?
body: <p>In the scenario of debugging a remote target running a custom RTOS, what would be necessary to add thread support to GDB?</p>
  
  <p>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.</p>
  
  <p>Would this imply recompiling GDB? Adding hooks to thread-related commands?</p>
  
  <p>Any commentary will be greatly appreciated!</p>