Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Sep 2008 19:08:56 -0700
From:      Julian Elischer <julian@elischer.org>
To:        David Xu <davidxu@freebsd.org>
Cc:        dixit@netapp.com, freebsd-threads@freebsd.org
Subject:   Re: libpthread and gdbserver
Message-ID:  <48C094B8.3050302@elischer.org>
In-Reply-To: <48C0923F.6080608@freebsd.org>
References:  488A213F.70105@netapp.com <48C06F77.6000006@elischer.org> <48C0923F.6080608@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-threads
> To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48C094B8.3050302>