diff options
author | Greg Clayton <gclayton@apple.com> | 2011-01-19 07:54:15 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-01-19 07:54:15 +0000 |
commit | e2d4f0d7ce91e12fd2eb1fdbccfb5d80947078d8 (patch) | |
tree | 50fbcef099c621e8aab794f33536c3d4482bedc8 /lldb/tools/debugserver/source/MacOSX/MachThread.cpp | |
parent | 424cec97bdff219cd976dce85a405140069c57f9 (diff) | |
download | bcm5719-llvm-e2d4f0d7ce91e12fd2eb1fdbccfb5d80947078d8.tar.gz bcm5719-llvm-e2d4f0d7ce91e12fd2eb1fdbccfb5d80947078d8.zip |
Took the timeout for a ClangUserExpression down from a 10 second timeout to
500 ms.
Make MachThreadList more threadsafe.
Added code to make sure the thread register state was properly flushed for x86_64.
Fixed an missing return code for the current thread in the new thread suffix code.
Improved debugserver logging.
llvm-svn: 123815
Diffstat (limited to 'lldb/tools/debugserver/source/MacOSX/MachThread.cpp')
-rw-r--r-- | lldb/tools/debugserver/source/MacOSX/MachThread.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachThread.cpp b/lldb/tools/debugserver/source/MacOSX/MachThread.cpp index 003a58b79d6..e61d2800287 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachThread.cpp +++ b/lldb/tools/debugserver/source/MacOSX/MachThread.cpp @@ -297,14 +297,14 @@ MachThread::Dump(uint32_t index) default: thread_run_state = "???"; break; } - DNBLogThreaded("thread[%u] %4.4x (%u): pc: 0x%8.8llx sp: 0x%8.8llx breakID: %d user: %d.%06.6d system: %d.%06.6d cpu: %d policy: %d run_state: %d (%s) flags: %d suspend_count: %d (current %d) sleep_time: %d", + DNBLogThreaded("[%3u] #%3u tid: 0x%4.4x, pc: 0x%16.16llx, sp: 0x%16.16llx, breakID: %3d, user: %d.%06.6d, system: %d.%06.6d, cpu: %2d, policy: %2d, run_state: %2d (%s), flags: %2d, suspend_count: %2d (current %2d), sleep_time: %d", index, - m_tid, m_seq_id, + m_tid, GetPC(INVALID_NUB_ADDRESS), GetSP(INVALID_NUB_ADDRESS), m_breakID, - m_basicInfo.user_time.seconds, m_basicInfo.user_time.microseconds, + m_basicInfo.user_time.seconds, m_basicInfo.user_time.microseconds, m_basicInfo.system_time.seconds, m_basicInfo.system_time.microseconds, m_basicInfo.cpu_usage, m_basicInfo.policy, |