Subject: Fixing GDB
To: None <tech-userlevel@NetBSD.org>
From: Rui Paulo <rpaulo@NetBSD.org>
List: tech-userlevel
Date: 07/25/2005 22:05:46
Hi,
Currently, our gdb is unable to trace/debug pthreaded applications.
Debugging some application is a task often performed, mainly on a
operating systems used on researching, such as NetBSD.
It doesn't matter if the program uses pthread_* calls or not,
it stops on errors from the pthread shared library. The only way to debug,
a pthreaded application is by statically link it, which is sub-optimal.
I plan to take a look at gdb code, but since it's the first time I'm going
to look at it, I'm not expecting to come up with a fix right now.
Any hints ? Please ? :-)
Related PR: bin/30756
(http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=30756)
-- Rui Paulo