a gdb script to show threads entry point function names