debuggigng threads when built atop gcc.