diff options
author | Todd Fiala <todd.fiala@gmail.com> | 2014-06-30 23:51:35 +0000 |
---|---|---|
committer | Todd Fiala <todd.fiala@gmail.com> | 2014-06-30 23:51:35 +0000 |
commit | 2850b1be2efbc797a9f481f35cc897a04a7dbd68 (patch) | |
tree | ed868d405d58cc762abfdba785fa977a504084cc /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | |
parent | 7d7ae931395b8b907056822ca682d6d0cd3db386 (diff) | |
download | bcm5719-llvm-2850b1be2efbc797a9f481f35cc897a04a7dbd68.tar.gz bcm5719-llvm-2850b1be2efbc797a9f481f35cc897a04a7dbd68.zip |
Fixup Windows build breaks for the llgs upstream.
Also moves NativeRegisterContextLinux* files into the Linux directory.
These, like NativeProcessLinux, should only be built on Linux or a cross
compiler with proper headers.
llvm-svn: 212074
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp index 3d19b115d4c..e59cf34f8e3 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp @@ -15,6 +15,8 @@ // C Includes // C++ Includes #include <cstring> +#include <chrono> +#include <thread> // Other libraries and framework includes #include "llvm/ADT/Triple.h" @@ -535,8 +537,8 @@ GDBRemoteCommunicationServer::LaunchDebugServerProcess () if (log) log->Printf ("GDBRemoteCommunicationServer::%s waiting for launched process to hit first stop (%d)...", __FUNCTION__, iteration++); - // FIXME use a sleep method with finer granularity. - sleep (1); + // FIXME use a finer granularity. + std::this_thread::sleep_for(std::chrono::seconds(1)); } if (log) |