[Lldb-commits] [PATCH] D68156: [debugserver] Don't use RNBLog for printing the version
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 27 12:43:03 PDT 2019
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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68156.222228.patch
Type: text/x-patch
Size: 698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190927/080981d2/attachment.bin>
More information about the lldb-commits
mailing list