From owner-freebsd-hackers@FreeBSD.ORG Sun Dec 21 22:01:39 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84F3316A4CE for ; Sun, 21 Dec 2003 22:01:39 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C1CE43D1F for ; Sun, 21 Dec 2003 22:01:38 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id hBM61bHn039175; Mon, 22 Dec 2003 00:01:37 -0600 (CST) (envelope-from dan) Date: Mon, 22 Dec 2003 00:01:37 -0600 From: Dan Nelson To: Daniel Eischen Message-ID: <20031222060137.GA87552@dan.emsphone.com> References: <20031222010257.GY60229@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.5.1i cc: hackers@freebsd.org cc: Alfred Perlstein Subject: Re: support for __thread X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2003 06:01:39 -0000 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 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. -- Dan Nelson dnelson@allantgroup.com