[Lldb-commits] [Patch][Please Review] Spawned thread detection in Linux

Kopec, Matt matt.kopec at intel.com
Thu Dec 20 11:30:56 PST 2012


No problem. I thought I'd put it out there in case anyone is familiar.

Thanks for the test suite suggestion.

Matt
________________________________________
From: Jim Ingham [jingham at apple.com]
Sent: Thursday, December 20, 2012 2:21 PM
To: Kopec, Matt
Cc: lldb-commits at cs.uiuc.edu
Subject: Re: [Lldb-commits] [Patch][Please Review] Spawned thread detection in  Linux

Pretty much all of this is in the Linux or Linux/FreeBSD parts of lldb, and I haven't worked with the Linux threading model in more than a decade so I can't really comment usefully...

It doesn't look like we have a test/functionalities/thread, but we should.  Why don't you make that directory, and then put your new test there.

Jim



On Dec 20, 2012, at 10:59 AM, "Kopec, Matt" <matt.kopec at intel.com> wrote:

> This patch adds some basic support for detecting newly spawned threads in a process. More effort needs to be done to support signals/breakpoints correctly in spawned threads.
>
> I have used eStopReasonNone for a new stop info I added for the Process POSIX plugin. In light of recent discussions, I'll probably replace this with a new eStopReasonNewThread enum in a separate patch later.
>
> I have also added a test checking the number of threads in a process, though I'm not sure if its' in the right location.
>
> Thanks,
> Matt
> <linuxthreaddetect.patch>_______________________________________________
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits





More information about the lldb-commits mailing list