gdb: extra debug output in thread.c Add some extra 'threads' debug in a couple of places in thread.c. I've also added an additional gdb_assert in one case.