Author: aidandodds
Date: Tue May  5 03:31:55 2015
New Revision: 236486

URL: http://llvm.org/viewvc/llvm-project?rev=236486&view=rev
Log:
Fix GetModuleInfo() not checking for unsupported RSP response.
http://reviews.llvm.org/D9473

Modified:
    
lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp

Modified: 
lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp?rev=236486&r1=236485&r2=236486&view=diff
==============================================================================
--- 
lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp 
(original)
+++ 
lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp 
Tue May  5 03:31:55 2015
@@ -3751,7 +3751,7 @@ GDBRemoteCommunicationClient::GetModuleI
     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;


_______________________________________________
lldb-commits mailing list
lldb-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to