lkml.org 
[lkml]   [1999]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectThread debugging cause unknow signal ? with gdb 4.18 and libc6 2.1.2-0pre7
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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.053 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site