summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorAidan Dodds <aidan@codeplay.com>2015-05-05 08:31:55 +0000
committerAidan Dodds <aidan@codeplay.com>2015-05-05 08:31:55 +0000
commitdf627e73a1ab6903a566117373acd4b23d69a793 (patch)
tree734df0cc2a8e2ca8e09bb1cb8157ffe17e3ea01c /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parent2964749cfad609d4e191af77162db79d8e02fcf6 (diff)
downloadbcm5719-llvm-df627e73a1ab6903a566117373acd4b23d69a793.tar.gz
bcm5719-llvm-df627e73a1ab6903a566117373acd4b23d69a793.zip
Fix GetModuleInfo() not checking for unsupported RSP response.
http://reviews.llvm.org/D9473 llvm-svn: 236486
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
index 071353fdf61..536df20dfb3 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -3751,7 +3751,7 @@ GDBRemoteCommunicationClient::GetModuleInfo (const FileSpec& module_file_spec,
if (SendPacketAndWaitForResponse (packet.GetData(), packet.GetSize(), response, false) != PacketResult::Success)
return false;
- if (response.IsErrorResponse ())
+ if (response.IsErrorResponse () || response.IsUnsupportedResponse ())
return false;
std::string name;
OpenPOWER on IntegriCloud