commit | df627e73a1ab6903a566117373acd4b23d69a793 | [log] [tgz] |
---|---|---|
author | Aidan Dodds <aidan@codeplay.com> | Tue May 05 08:31:55 2015 +0000 |
committer | Aidan Dodds <aidan@codeplay.com> | Tue May 05 08:31:55 2015 +0000 |
tree | 734df0cc2a8e2ca8e09bb1cb8157ffe17e3ea01c | |
parent | 2964749cfad609d4e191af77162db79d8e02fcf6 [diff] [blame] |
Fix GetModuleInfo() not checking for unsupported RSP response. http://reviews.llvm.org/D9473 llvm-svn: 236486
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp index 071353f..536df20 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -3751,7 +3751,7 @@ 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;