libpthread and gdbserver

Julian Elischer julian at elischer.org
Fri Sep 5 02:08:50 UTC 2008


the actual question was from dixit @ netapp.com
but for some reason it didn't appear on this email..


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"



More information about the freebsd-threads mailing list