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

Jim Ingham jingham at apple.com
Thu Dec 20 11:21:21 PST 2012


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