pgilliam@elm3b11:~/gdb_cvs_top/build-ppc32> gdb/gdb ~/tbug GNU gdb 6.1.0.90_2004-06-15-cvs Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc--linux"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) b tf Breakpoint 1 at 0x10000584: file tbug.c, line 15. (gdb) run Starting program: /home/pgilliam/tbug [Thread debugging using libthread_db enabled] [New Thread 1024 (LWP 10689)] [New Thread 2049 (LWP 10692)] [New Thread 1026 (LWP 10693)] [Switching to Thread 1026 (LWP 10693)] Breakpoint 1, tf (arg=0x0) at tbug.c:15 15 int n = (int) (long int) arg; (gdb) c Continuing. [New Thread 2051 (LWP 10694)] tf(0): begin after create [Switching to Thread 2051 (LWP 10694)] Breakpoint 1, tf (arg=0x1) at tbug.c:15 15 int n = (int) (long int) arg; (gdb) c Continuing. tf(1): begin tf(0): end tf(1): end after join Program exited normally. (gdb) q