summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote
diff options
context:
space:
mode:
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