https://www.kontronn.com/software/gdb-debugging-multi-threads-case-analysis/