Date: Mon, 29 Mar 2004 08:06:49 -0500 (EST) From: Daniel Eischen <eischen@vigrid.com> To: Niall Douglas <s_sourceforge@nedprod.com> Cc: freebsd-threads@freebsd.org Subject: Re: GDB 6.0 and FreeBSD threads Message-ID: <Pine.GSO.4.10.10403290805540.16283-100000@pcnet5.pcnet.com> In-Reply-To: <4067688B.19545.1A50C1@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10403290805540.16283-100000>