[Lldb-commits] [lldb] r186033 - Add support for listing inferior thread names on Linux.

Kopec, Matt matt.kopec at intel.com
Tue Jul 16 11:59:25 PDT 2013


I was just wondering if you were adapting the FreeBSD monitor to the messages handled by ProcessPOSIX plugin.

A potential use could be notifying users when a thread was created or exited but we don't do that right now.

On 2013-07-16, at 1:35 PM, Ed Maste <emaste at freebsd.org>
 wrote:

> On 15 July 2013 19:41, Ed Maste <emaste at freebsd.org> wrote:
>> Right now, neither, so my thread list just stays as it was at attach
>> time.  My current plan is to just compare (in RefreshStateAfterStop)
>> lldb's thread list with the one obtained from PT_GETLWPLIST, and
>> add/remove as necessary.
> 
> Actually, it looks like the way for me to do this is to implement a
> FreeBSD ProcessMonitor::GetCurrentThreadIDs and call it from
> ProcessFreeBSD::UpdateThreadList, mimicking what's done in the GDB
> remote plugin.
> 
> Is there any specific reason we'd want to generate messages for thread
> creation / termination instead?





More information about the lldb-commits mailing list