GDB 6.0 and FreeBSD threads
Daniel Eischen
eischen at vigrid.com
Mon Mar 29 05:06:51 PST 2004
On Mon, 29 Mar 2004, Niall Douglas wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 28 Mar 2004 at 9:47, Daniel Eischen wrote:
>
> > No-one has touched uthread support for other GDB's as
> > far as I know. Most work is going in to our other thread
> > libraries. There is work trying to get GDB thread support
> > for libpthread, and that should be here by 5.3-release.
>
> I discovered late last night that libc_r implements only userland
> threads which seem to have issues with pipes (my code kept hanging
> inside the pipe i/o). I then discovered there are real system scope
> threads too, but they're in a different library called libkse.
>
> You guys could seriously improve the documentation inside the man
> pages. Please! Just a two line paragraph would have saved me more
> than a day of work.
>
> After linking to libkse and finding it really doesn't like coexisting
> with libc_r, I discovered the libmap.conf trick and it works now.
> Unfortunately I'm back to square one in that no gdb supports kse
> threads. This is a major problem as my code is heavily multithreaded.
You'll probably have to wait for gdb support to hit the
tree sometime before 5.3-release.
--
Dan Eischen
More information about the freebsd-threads
mailing list