From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1504 invoked by alias); 6 Oct 2005 17:23:44 -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 979 invoked by uid 22791); 6 Oct 2005 17:23:04 -0000 Received: from [220.225.32.98] (HELO calvin.codito.co.in) (220.225.32.98) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 06 Oct 2005 17:23:04 +0000 Received: from zirakzigil.codito.co.in (zirakzigil.codito.co.in [192.168.100.106]) by calvin.codito.co.in (8.13.2/8.13.2/Debian-1) with ESMTP id j96MqRZa025054; Fri, 7 Oct 2005 04:22:28 +0530 Subject: Re: [RFC] named thread support From: Ramana Radhakrishnan Reply-To: ramana.radhakrishnan@codito.com To: Michael Snyder Cc: gdb@sources.redhat.com In-Reply-To: <003101c5ca89$66229580$677ba8c0@sonic.net> References: <003101c5ca89$66229580$677ba8c0@sonic.net> Content-Type: text/plain Date: Thu, 06 Oct 2005 17:23:00 -0000 Message-Id: <1128619356.32443.22.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SW-Source: 2005-10/txt/msg00030.txt.bz2 Hi, > 1) The generic part would be to add a name field to gdb's > thread struct, with appropriate UI for manipulating and > displaying it. The "thread" and "thread apply" commands > would be enhanced to accept a name as well as a number. That sounds neat in terms of user interface. Associating meaningful names with threads rather than viewing them in terms of thread id's would enhance user experience. > 2) Target-specific part -- sends the gdb-selected names > to the target, accepts target-selected names from the target > and adds them to gdb thread database. > > Part 1 could be used by everybody, independently of > whether their target implements part 2. > > Michael > -- Ramana Radhakrishnan GNU Tools, codito ergo sum (http://www.codito.com) Office:+91 20 26051367 ext. 162 Mobile:+91 9890040009