projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
133ebe5
)
debugserver should fflush its log stream in FileLogCallback, now it does.
author
Greg Clayton
<gclayton@apple.com>
Mon, 2 May 2016 22:53:08 +0000
(22:53 +0000)
committer
Greg Clayton
<gclayton@apple.com>
Mon, 2 May 2016 22:53:08 +0000
(22:53 +0000)
<rdar://problem/
24728287
>
llvm-svn: 268325
lldb/tools/debugserver/source/debugserver.cpp
patch
|
blob
|
history
diff --git
a/lldb/tools/debugserver/source/debugserver.cpp
b/lldb/tools/debugserver/source/debugserver.cpp
index
e02bd07
..
a22f046
100644
(file)
--- a/
lldb/tools/debugserver/source/debugserver.cpp
+++ b/
lldb/tools/debugserver/source/debugserver.cpp
@@
-824,8
+824,9
@@
FileLogCallback(void *baton, uint32_t flags, const char *format, va_list args)
if (baton == NULL || format == NULL)
return;
- ::vfprintf ((FILE *)baton, format, args);
- ::fprintf ((FILE *)baton, "\n");
+ ::vfprintf((FILE *)baton, format, args);
+ ::fprintf((FILE *)baton, "\n");
+ ::fflush((FILE *)baton);
}