summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-05-29 08:51:58 +0000
committerStephan Bergmann <sbergman@redhat.com>2017-05-29 08:51:58 +0000
commitcf4321a44d040468495671e4a8fae7418ce93d95 (patch)
treef2cc5e6adb3b6a7b6980745e656ac9734ddcab8f /lldb/source/Plugins/Process/gdb-remote
parent816a9668bb6c56b5fae96cbe6ca8c33aa90be1e5 (diff)
downloadbcm5719-llvm-cf4321a44d040468495671e4a8fae7418ce93d95.tar.gz
bcm5719-llvm-cf4321a44d040468495671e4a8fae7418ce93d95.zip
More StructuredData::Type::eTypeDictionary -> lldb::eStructuredDataTypeDictionary
...missing from previous r304138 "Added new API to SBStructuredData class" llvm-svn: 304142
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp4
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp10
2 files changed, 7 insertions, 7 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
index 626ec66cd5e..33aed7a43c4 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -3278,7 +3278,7 @@ GDBRemoteCommunicationClient::SendGetTraceConfigPacket(lldb::user_id_t uid,
auto json_object = StructuredData::ParseJSON(response.Peek());
if (!json_object ||
- json_object->GetType() != StructuredData::Type::eTypeDictionary) {
+ json_object->GetType() != lldb::eStructuredDataTypeDictionary) {
error.SetErrorString("Invalid Configuration obtained");
return error;
}
@@ -3299,7 +3299,7 @@ GDBRemoteCommunicationClient::SendGetTraceConfigPacket(lldb::user_id_t uid,
json_dict->GetValueForKey("params");
if (custom_params_sp) {
if (custom_params_sp->GetType() !=
- StructuredData::Type::eTypeDictionary) {
+ lldb::eStructuredDataTypeDictionary) {
error.SetErrorString("Invalid Configuration obtained");
return error;
} else
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
index a3e5ce3440c..d318c35366f 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
@@ -1120,7 +1120,7 @@ GDBRemoteCommunicationServerLLGS::Handle_jTraceStart(
auto json_object = StructuredData::ParseJSON(packet.Peek());
if (!json_object ||
- json_object->GetType() != StructuredData::Type::eTypeDictionary)
+ json_object->GetType() != lldb::eStructuredDataTypeDictionary)
return SendIllFormedResponse(packet, "jTraceStart: Ill formed packet ");
auto json_dict = json_object->GetAsDictionary();
@@ -1140,7 +1140,7 @@ GDBRemoteCommunicationServerLLGS::Handle_jTraceStart(
StructuredData::ObjectSP custom_params_sp =
json_dict->GetValueForKey("params");
if (custom_params_sp &&
- custom_params_sp->GetType() != StructuredData::Type::eTypeDictionary)
+ custom_params_sp->GetType() != lldb::eStructuredDataTypeDictionary)
return SendIllFormedResponse(packet, "jTraceStart: Ill formed packet ");
options.setTraceParams(
@@ -1182,7 +1182,7 @@ GDBRemoteCommunicationServerLLGS::Handle_jTraceStop(
auto json_object = StructuredData::ParseJSON(packet.Peek());
if (!json_object ||
- json_object->GetType() != StructuredData::Type::eTypeDictionary)
+ json_object->GetType() != lldb::eStructuredDataTypeDictionary)
return SendIllFormedResponse(packet, "jTraceStop: Ill formed packet ");
auto json_dict = json_object->GetAsDictionary();
@@ -1219,7 +1219,7 @@ GDBRemoteCommunicationServerLLGS::Handle_jTraceConfigRead(
auto json_object = StructuredData::ParseJSON(packet.Peek());
if (!json_object ||
- json_object->GetType() != StructuredData::Type::eTypeDictionary)
+ json_object->GetType() != lldb::eStructuredDataTypeDictionary)
return SendIllFormedResponse(packet,
"jTraceConfigRead: Ill formed packet ");
@@ -1287,7 +1287,7 @@ GDBRemoteCommunicationServerLLGS::Handle_jTraceRead(
auto json_object = StructuredData::ParseJSON(packet.Peek());
if (!json_object ||
- json_object->GetType() != StructuredData::Type::eTypeDictionary)
+ json_object->GetType() != lldb::eStructuredDataTypeDictionary)
return SendIllFormedResponse(packet, "jTrace: Ill formed packet ");
auto json_dict = json_object->GetAsDictionary();
OpenPOWER on IntegriCloud