[Lldb-commits] [lldb] r236486 - Fix GetModuleInfo() not checking for unsupported RSP response.
Aidan Dodds
aidan at codeplay.com
Tue May 5 01:31:56 PDT 2015
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;
More information about the lldb-commits
mailing list