support for __thread

Daniel Eischen eischen at vigrid.com
Mon Dec 22 05:36:23 PST 2003


On Mon, 22 Dec 2003, Dan Nelson wrote:

> In the last episode (Dec 22), Daniel Eischen said:
> > I'd like to stay away from maintaining libc_r any further; not that
> > it can't be done, but with libkse and libthr around, why?
> 
> Do gdb and pstack (in ports) handle libkse or libthr threads?  libc_r

I don't know what pstack is, but we should have gdb for 5.3R.

> is a great debugging tool, if nothing else.  I can't even attach to a
> libkse-threaded program with gdb; the tracee gets SIGSTOP'ped, and gdb
> just sits there.  You have to kill -9 gdb from another tty, and the
> tracee dies.  gdb can attach to a libc_r program, view all the threads,
> and detach without affecting the tracee.




More information about the freebsd-hackers mailing list