From owner-freebsd-threads@FreeBSD.ORG Sun Sep 28 22:30:35 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3232316A4B3 for ; Sun, 28 Sep 2003 22:30:35 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62C8644003 for ; Sun, 28 Sep 2003 22:30:34 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id h8T5UTgG013298; Mon, 29 Sep 2003 01:30:29 -0400 (EDT) Date: Mon, 29 Sep 2003 01:30:29 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: "Christopher M. Sedore" In-Reply-To: <32A8B2CB12BFC84D8D11D872C787AA9A515C9D@EXCHANGE.forest.maxwell.syr.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org Subject: Re: gdb and kse X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2003 05:30:35 -0000 On Sun, 28 Sep 2003, Christopher M. Sedore wrote: > I'm beginning some work that utilizes kse-based threads. I've been trying > to use gdb for debugging, with very limited success. In some instances, gdb > does as one would expect (catching segvs, etc), most of the time, however, > if the program segvs, the process just hangs and gdb sits there (the threads > show state as "STOP" in top). In some cases, hitting control-c on will > bring gdb back to life, but things are not right. No, gdb isn't kse thread-aware yet. Some things may look like they work because of similarities between internal thread layout in libc_r and libkse. It is on my TODO list. Gotta finish up some pressing work work first. -- Dan Eischen