This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: improved thread id reporting


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]