This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc][patch] Allow GDB to display user-defined thread names
- From: jtc at acorntoolworks dot com (J.T. Conklin)
- To: karen dot osmond at gmail dot com
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 04 Jun 2009 09:52:33 -0700
- Subject: Re: [rfc][patch] Allow GDB to display user-defined thread names
- References: <Pine.LNX.4.64.0906041721010.32368@localhost.localdomain>
- Reply-to: jtc at acorntoolworks dot com
Karen Osmond <karen.osmond@gmail.com> writes:
> So, if this is of interest, I'd like to spend the time to improve it but
> if anybody has time, it would be of great help if a gdb bod could
> volunteer to mentor me a bit... please? :)
Some systems have names that can be set programmatically w/
pthread_attr_setname() or pthread_attr_setname_np(). On such systems,
it might be useful for GDB's initial thread name be inherited from the
target.
--jtc
--
J.T. Conklin