summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/POSIX
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-04-12 19:04:34 +0000
committerGreg Clayton <gclayton@apple.com>2012-04-12 19:04:34 +0000
commitc3c0b0e59a8565fdaeb6f6cbe600ed59c22e5f0c (patch)
treec935a92e8de30464adb311b7c78f6ed712082528 /lldb/source/Plugins/Process/POSIX
parent7767716d0f3e3d717f238d0969029e302ee73a6f (diff)
downloadbcm5719-llvm-c3c0b0e59a8565fdaeb6f6cbe600ed59c22e5f0c.tar.gz
bcm5719-llvm-c3c0b0e59a8565fdaeb6f6cbe600ed59c22e5f0c.zip
Remove the GetSequenceMutex timeout that isn't being used in the GDB remote plug-in.
Also fixed the ProcessLinux, ProcessPOSIX and ProcessFreeBSD to have the correct UpdateThreadList() prototype. llvm-svn: 154603
Diffstat (limited to 'lldb/source/Plugins/Process/POSIX')
-rw-r--r--lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp4
-rw-r--r--lldb/source/Plugins/Process/POSIX/ProcessPOSIX.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp b/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
index 332dc415cf2..b8b989b5224 100644
--- a/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
+++ b/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
@@ -489,7 +489,7 @@ ProcessPOSIX::UpdateThreadListIfNeeded()
return m_thread_list.GetSize(false);
}
-uint32_t
+bool
ProcessPOSIX::UpdateThreadList(ThreadList &old_thread_list, ThreadList &new_thread_list)
{
LogSP log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_THREAD));
@@ -509,7 +509,7 @@ ProcessPOSIX::UpdateThreadList(ThreadList &old_thread_list, ThreadList &new_thre
log->Printf ("ProcessPOSIX::%s() updated pid = %i", __FUNCTION__, GetID());
new_thread_list.AddThread(thread_sp);
- return new_thread_list.GetSize(false);
+ return new_thread_list.GetSize(false) > 0;
}
ByteOrder
diff --git a/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.h b/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.h
index dd887cf0894..adcdee5de92 100644
--- a/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.h
+++ b/lldb/source/Plugins/Process/POSIX/ProcessPOSIX.h
@@ -105,7 +105,7 @@ public:
virtual uint32_t
UpdateThreadListIfNeeded();
- virtual uint32_t
+ virtual bool
UpdateThreadList(lldb_private::ThreadList &old_thread_list,
lldb_private::ThreadList &new_thread_list) = 0;
OpenPOWER on IntegriCloud