Add a "thread specification" class that specifies thread specific breakpoints by name, index, queue or TID.  
Push this through all the breakpoint management code.  Allow this to be set when the breakpoint is created.
Fix the Process classes so that a breakpoint hit that is not for a particular thread is not reported as a 
breakpoint hit event for that thread.
Added a "breakpoint configure" command to allow you to reset any of the thread 
specific options (or the ignore count.)


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@106078 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Breakpoint/Breakpoint.cpp b/source/Breakpoint/Breakpoint.cpp
index c475cf0..b3576b6 100644
--- a/source/Breakpoint/Breakpoint.cpp
+++ b/source/Breakpoint/Breakpoint.cpp
@@ -24,6 +24,7 @@
 #include "lldb/Core/StreamString.h"
 #include "lldb/Symbol/SymbolContext.h"
 #include "lldb/Target/Target.h"
+#include "lldb/Target/ThreadSpec.h"
 #include "lldb/lldb-private-log.h"
 
 using namespace lldb;
@@ -166,13 +167,16 @@
 void
 Breakpoint::SetThreadID (lldb::tid_t thread_id)
 {
-    m_options.SetThreadID(thread_id);
+    m_options.GetThreadSpec()->SetTID(thread_id);
 }
 
 lldb::tid_t
 Breakpoint::GetThreadID ()
 {
-    return m_options.GetThreadID();
+    if (m_options.GetThreadSpec() == NULL)
+        return LLDB_INVALID_THREAD_ID;
+    else
+        return m_options.GetThreadSpec()->GetTID();
 }
 
 // This function is used when "baton" doesn't need to be freed