[Lldb-commits] [lldb] r208794 - Fix up TestLldbGdbServer C++ test slug exe.

Todd Fiala todd.fiala at gmail.com
Wed May 14 10:12:03 PDT 2014


Author: tfiala
Date: Wed May 14 12:12:02 2014
New Revision: 208794

URL: http://llvm.org/viewvc/llvm-project?rev=208794&view=rev
Log:
Fix up TestLldbGdbServer C++ test slug exe.

Missing header for Linux, replaces with iostreams.

Modified:
    lldb/trunk/test/tools/lldb-gdbserver/main.cpp

Modified: lldb/trunk/test/tools/lldb-gdbserver/main.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/tools/lldb-gdbserver/main.cpp?rev=208794&r1=208793&r2=208794&view=diff
==============================================================================
--- lldb/trunk/test/tools/lldb-gdbserver/main.cpp (original)
+++ lldb/trunk/test/tools/lldb-gdbserver/main.cpp Wed May 14 12:12:02 2014
@@ -28,7 +28,7 @@ int main (int argc, char **argv)
             // Treat as the amount of time to have this process sleep (in seconds).
             const int sleep_seconds = std::atoi (argv[i] + strlen (SLEEP_PREFIX));
 			const int sleep_result = sleep(sleep_seconds);
-			printf("sleep result: %d\n", sleep_result);
+			std::cout << "sleep result: " << sleep_result << std::endl;
         }
         else
         {





More information about the lldb-commits mailing list