diff options
author | Greg Clayton <gclayton@apple.com> | 2010-11-12 00:49:23 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-11-12 00:49:23 +0000 |
commit | 1b946bf6368353e9b56cbb3f29a1192706ff7ae2 (patch) | |
tree | afa0526ab6deaa3598eacca0c629333a6016c4b0 /lldb/tools/debugserver/source/MacOSX/MachThread.h | |
parent | 6d95ed176002a071cb9148ef82132fa81e4424c2 (diff) | |
download | bcm5719-llvm-1b946bf6368353e9b56cbb3f29a1192706ff7ae2.tar.gz bcm5719-llvm-1b946bf6368353e9b56cbb3f29a1192706ff7ae2.zip |
Fixed an issue with the MachThread class where we might not get the initial
thread basic info state and not realize that a thread was already suspended
or if a thread was starting up and not ready to be displayed to the user
(in an uninterruptable state). If it is not user ready yet, we don't add it
to our list of threads that can be played with.
llvm-svn: 118866
Diffstat (limited to 'lldb/tools/debugserver/source/MacOSX/MachThread.h')
-rw-r--r-- | lldb/tools/debugserver/source/MacOSX/MachThread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachThread.h b/lldb/tools/debugserver/source/MacOSX/MachThread.h index 2bf5ff2c3bb..f7f2ce8b1ab 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachThread.h +++ b/lldb/tools/debugserver/source/MacOSX/MachThread.h @@ -89,6 +89,10 @@ public: nub_size_t GetRegisterContext (void *buf, nub_size_t buf_len); nub_size_t SetRegisterContext (const void *buf, nub_size_t buf_len); void NotifyBreakpointChanged (const DNBBreakpoint *bp); + + bool IsUserReady(); + struct thread_basic_info * + GetBasicInfo (); const char * GetBasicInfoAsString () const; const char * GetName (); protected: |