Thread debugging cause unknow signal ? with gdb 4.18 and libc6 2.1.2-0pre7

Raphael Bossek (raphael.bossek@gmx.de)
Tue, 17 Aug 1999 14:16:27 +0200 (MEST)


Hi,

it is inpossible to me debug (gdb 4.18) my thread application that base on
linuxthreads (libpthread from libc6 2.1.2-0pre7). gdb does not recognize
thread creation (pthread_create) and receive unknown signal :-( The gdb output
is the following:
Pgoram received signal ?, Unknown signal.
0x4004814a in sigsuspend() from /lib/libc.so.6

The application is really simple (from Pthread Programming, O'Reilly). Two
threads printf different text and the main application wait for them to
exit. The application works fine but i would like test the debugging
possibilities of Linux before start a bigger project that need thread debuging
functionality !

A look into the gdb documentation showed that gdb should support multiple
thread applications but why doesn't it work with my system configuration
(Debian GNU/Linux Potato; Kernel 2.2.10; non SMP) ?! I never tried this with
earlier versions of libraries or applications.

Any kind of help is welcome :-)

cu Raphael Bossek <raphael.bossek@solutions4linux.de>

-- 
Sent through Global Message Exchange - http://www.gmx.net

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/