JDevlieghere created this revision. JDevlieghere added a reviewer: jasonmolenda. Herald added a project: LLDB.
When not running under a TTY the output is buffered and not flushed before debugserver exits. Repository: rLLDB LLDB https://reviews.llvm.org/D68156 Files: lldb/tools/debugserver/source/debugserver.cpp Index: lldb/tools/debugserver/source/debugserver.cpp =================================================================== --- lldb/tools/debugserver/source/debugserver.cpp +++ lldb/tools/debugserver/source/debugserver.cpp @@ -1305,8 +1305,8 @@ // as long as we're dropping remotenub in as a replacement for gdbserver, // explicitly note that this is not gdbserver. - RNBLogSTDOUT("%s-%s %sfor %s.\n", DEBUGSERVER_PROGRAM_NAME, - DEBUGSERVER_VERSION_STR, compile_options.c_str(), RNB_ARCH); + fprintf(stderr, "%s-%s %sfor %s.\n", DEBUGSERVER_PROGRAM_NAME, + DEBUGSERVER_VERSION_STR, compile_options.c_str(), RNB_ARCH); std::string host; int port = INT32_MAX;
Index: lldb/tools/debugserver/source/debugserver.cpp =================================================================== --- lldb/tools/debugserver/source/debugserver.cpp +++ lldb/tools/debugserver/source/debugserver.cpp @@ -1305,8 +1305,8 @@ // as long as we're dropping remotenub in as a replacement for gdbserver, // explicitly note that this is not gdbserver. - RNBLogSTDOUT("%s-%s %sfor %s.\n", DEBUGSERVER_PROGRAM_NAME, - DEBUGSERVER_VERSION_STR, compile_options.c_str(), RNB_ARCH); + fprintf(stderr, "%s-%s %sfor %s.\n", DEBUGSERVER_PROGRAM_NAME, + DEBUGSERVER_VERSION_STR, compile_options.c_str(), RNB_ARCH); std::string host; int port = INT32_MAX;
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits