From 2850b1be2efbc797a9f481f35cc897a04a7dbd68 Mon Sep 17 00:00:00 2001 From: Todd Fiala Date: Mon, 30 Jun 2014 23:51:35 +0000 Subject: 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 --- .../Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp') 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 +#include +#include // 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) -- cgit v1.2.3