gdb 5.1.1 doesn't handle correctly threads. when a thread is started gdb interrupts the program with signal SIG32, instead of showing "[New Thread whatever (LWP whatever)]". The same version of gdb on Mandrake 8.2 works well. I've tested it with glibc 2.2.5-r2
Attach the smallest C/C++ program that exhibits this bug, and I will conjure up a fix.
Created attachment 1609 [details] simple threaded programs
Try: export LD_ASSUME_KERNEL=2.2.5 before starting gdb.
There may have been a mail on this matter, but I forget. I assume that since there is no reply to this bug, the workaround is successful.