title: Print stack trace of all threads without attaching GDB
body: <p>Is it possible to programatically print out stack trace of all running threads without attaching GDB? The application is running on an embedded system with Linux.</p>
  
  <p>I've found a <a href="https://stackoverflow.com/questions/12394935/getting-stacktrace-of-all-threads-without-attaching-gdb">very similar thread</a> but the solution uses a special GDB command.</p>