This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [RFC] named thread support
- From: Ramana Radhakrishnan <ramana dot radhakrishnan at codito dot com>
- To: Michael Snyder <msnyder at sonic dot net>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 06 Oct 2005 22:52:35 +0530
- Subject: Re: [RFC] named thread support
- References: <003101c5ca89$66229580$677ba8c0@sonic.net>
- Reply-to: ramana dot radhakrishnan at codito dot com
Hi,
<snipped>
> 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