improved thread id reporting

Daniel Jacobowitz drow@false.org
Sat Apr 4 22:17:00 GMT 2009


On Sat, Apr 04, 2009 at 11:37:53PM +0300, Eli Zaretskii wrote:
> > Date: Sat, 4 Apr 2009 15:21:32 -0400
> > From: Daniel Jacobowitz <drow@false.org>
> > Cc: dje@google.com, gdb@sourceware.org
> > 
> > I think the existing IDs are quite handy.
> 
> What for?  If they are useful, we should probably tell in the manual
> how to use them.

Their meaning is platform-specific; they're usually something that
will be recognized by programmers familiar with the OS in question.
On native Linux, they're the same as pthread_self would return.
I think they're just LWP IDs when using gdbserver; we had trouble
passing NPTL thread IDs over the remote protocol.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list