build-flag: -g -Wall gdb_test.c -o gdb_test -lpthread -static gdb init script (Auszug): ............ target remote 192.168.23.216:2345 continue info share continue continue continue info thread continue lfu@himalia:/ptx/work/mkl/sprecher/testcases/test_case_3 /opt/OSELAS.Toolchain-trunk/arm-ep93xx-linux-gnueabi/gcc-4.1.1-glibc-2.5/bin/arm-ep93xx-linux-gnueabi-gdb ./gdb_test GNU gdb 6.5.50.20061010 Copyright (C) 2006 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 "--host=i686-host-linux-gnu --target=arm-ep93xx-linux-gnueabi"... Breakpoint 1 at 0x8294: file gdb_test.c, line 32. Breakpoint 2 at 0x8340: file gdb_test.c, line 49. Breakpoint 3 at 0x83ec: file gdb_test.c, line 66. Breakpoint 4 at 0x8498: file gdb_test.c, line 83. Breakpoint 5 at 0x8550: file gdb_test.c, line 101. Breakpoint 6 at 0x8568: file gdb_test.c, line 102. Breakpoint 7 at 0x8580: file gdb_test.c, line 103. Breakpoint 8 at 0x8598: file gdb_test.c, line 104. 0x00008110 in _start () [New thread 420] [Switching to thread 420] Breakpoint 5, main () at gdb_test.c:101 101 pthread_create (&p1, NULL, thread1, (void *) 1); No shared libraries loaded at this time. Breakpoint 6, main () at gdb_test.c:102 102 pthread_create (&p2, NULL, thread2, (void *) 2); Breakpoint 7, main () at gdb_test.c:103 103 pthread_create (&p3, NULL, thread3, (void *) 3); Breakpoint 8, main () at gdb_test.c:104 104 pthread_create (&p4, NULL, thread4, (void *) 4); * 1 thread 420 main () at gdb_test.c:104 Program terminated with signal SIGTRAP, Trace/breakpoint trap. The program no longer exists. (gdb)