libpthread and gdbserver
Julian Elischer
julian at elischer.org
Fri Sep 5 02:14:48 UTC 2008
Julian Elischer wrote:
> the actual question was from dixit @ netapp.com
> but for some reason it didn't appear on this email..
the origianl question can be seen at:
http://lists.freebsd.org/pipermail/freebsd-threads/2008-August/004330.html
>
>
> David Xu wrote:
>> Julian Elischer wrote:
>>> just saw youe email to freebsd-threads...
>>>
>>>
>>> -----
>>>
>>> But pt_ta_map_lwp2thr() internally calls pt_ta_map_id2thr() in
>>> libthr_db.c so 'pid to tid' conversion is missing.
>>> If FreeBsd intends to keep it this way, I will have to modify gdbserver
>>> to not use 'pid' to find threads as Linux does.
>>> Can someone shed some light on this? Am I mailing the correct
>>> mailing-list with these queries?
>>>
>>> -----
>>>
>>> you might try directly mailing davidxu or marcel or jhb (all
>>> @freebsd.org). they SHOULD have seen that posting but may not have..
>>>
>>> jhb is I think away for a few days.
>>> but was doing stuff with the debugger quite recently.
>>>
>>
>> Our thread has its kernel thread id, it is called lwpid, this is not
>> linux like pid, I know linux thread is a special process.
>>
>>
>>
>> _______________________________________________
>> freebsd-threads at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
>> To unsubscribe, send any mail to
>> "freebsd-threads-unsubscribe at freebsd.org"
>
> _______________________________________________
> freebsd-threads at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe at freebsd.org"
More information about the freebsd-threads
mailing list