From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28779 invoked by alias); 9 Oct 2005 20:35:54 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 28516 invoked by uid 22791); 9 Oct 2005 20:35:47 -0000 Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sun, 09 Oct 2005 20:35:47 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id j99KYfhX024970; Sun, 9 Oct 2005 22:34:41 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.4/8.13.3) with ESMTP id j99KYfmK031192; Sun, 9 Oct 2005 22:34:41 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id j99KYffG008327; Sun, 9 Oct 2005 22:34:41 +0200 (CEST) Date: Sun, 09 Oct 2005 20:35:00 -0000 Message-Id: <200510092034.j99KYffG008327@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: drow@false.org CC: kewarken@qnx.com, gdb@sources.redhat.com In-reply-to: <20051006012139.GA21277@nevyn.them.org> (message from Daniel Jacobowitz on Wed, 5 Oct 2005 21:21:39 -0400) Subject: Re: [RFC] named thread support References: <4342B076.3000709@qnx.com> <20051006012139.GA21277@nevyn.them.org> X-SW-Source: 2005-10/txt/msg00059.txt.bz2 > Date: Wed, 5 Oct 2005 21:21:39 -0400 > From: Daniel Jacobowitz > > On Tue, Oct 04, 2005 at 12:40:22PM -0400, Kris Warkentin wrote: > > Would it be of interest to have a generic 'set threadname ' > > that called a target_set_threadname()? I ask because we're implementing > > named threads in our kernel but I don't know if many other systems > > support this. I can always add it to our backend but if someone else > > might use it in the future, I can make it general. > > So by named thread support, you mean that the application can register > the name of the thread with the kernel? And you want GDB to be able to > set thread names? > > I recommend doing this in your backend, since I don't know any other > gdb-supported system with a similar feature. I think HP-UX allows you to do the same thing, and many user-space threads implementations allow you to do something very similar. Mark