This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [RFC] named thread support
- From: Stan Shebs <shebs at apple dot com>
- To: Kris Warkentin <kewarken at qnx dot com>
- Cc: GDB <gdb at sources dot redhat dot com>
- Date: Thu, 06 Oct 2005 11:30:22 -0700
- Subject: Re: [RFC] named thread support
- References: <4342B076.3000709@qnx.com>
Kris Warkentin wrote:
Would it be of interest to have a generic 'set threadname <tid>
<name>' 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.
This actually was on the wishlist ages ago, ca 1998 or so I think,
probably connected with eCos plans. Even a target that didn't
support named threads could still make use of the generic capability,
for instance via setup scripts - break at a place known unique to a
particular thread, get tid, name it, then user and other scripts can
reliably use the name.
Stan