summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-08-30 11:17:00 +0000
committerPavel Labath <labath@google.com>2016-08-30 11:17:00 +0000
commite1c716c36cfba90b1d578aa120140b35f9875e8a (patch)
tree6cd38ef91af516bd1fdcb2eead0d51b630cbff83 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parentd13b1239e4e4c1a653d3b7549aff679892a7f727 (diff)
downloadbcm5719-llvm-e1c716c36cfba90b1d578aa120140b35f9875e8a.tar.gz
bcm5719-llvm-e1c716c36cfba90b1d578aa120140b35f9875e8a.zip
Fix fallout from the GetNameColonValue() refactor (r280000)
This fixes the linux test suite. llvm-svn: 280074
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
index ebeba059f36..8cfe331ee16 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -1814,7 +1814,10 @@ GDBRemoteCommunicationClient::GetWatchpointSupportInfo (uint32_t &num)
while (response.GetNameColonValue(name, value))
{
if (name.equals("num"))
+ {
value.getAsInteger(0, m_num_supported_hardware_watchpoints);
+ num = m_num_supported_hardware_watchpoints;
+ }
}
}
else
OpenPOWER on IntegriCloud