summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-10-01 17:41:48 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-10-01 17:41:48 +0000
commit2783d8179110b213714576fe6809ee8b02e55b16 (patch)
treeddc37de49ab920e3f79a2a640528b95184e13768 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent9292983154f5ef5248f247a9e2b66543d5a74bbe (diff)
downloadbcm5719-llvm-2783d8179110b213714576fe6809ee8b02e55b16.tar.gz
bcm5719-llvm-2783d8179110b213714576fe6809ee8b02e55b16.zip
[JSON] Use LLVM's library for encoding JSON in StructuredData
This patch replaces the hand-rolled JSON emission in StructuredData with LLVM's JSON library. Differential revision: https://reviews.llvm.org/D68248 llvm-svn: 373359
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index 3f0f3e4bb14..f1762abc55f 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -5089,7 +5089,7 @@ ParseStructuredDataPacket(llvm::StringRef packet) {
if (log) {
if (json_sp) {
StreamString json_str;
- json_sp->Dump(json_str);
+ json_sp->Dump(json_str, true);
json_str.Flush();
LLDB_LOGF(log,
"ProcessGDBRemote::%s() "
OpenPOWER on IntegriCloud