summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-07-01 12:00:25 +0000
committerPavel Labath <pavel@labath.sk>2019-07-01 12:00:25 +0000
commit4f0a37728052d999a9bbac4cd5d81b1f264567cd (patch)
treedec51efdd16b0debe3d537ccd47c2b5092e94852 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
parent881aab4dc3dfbf8109f55b67f0db86b3a36a9bc7 (diff)
downloadbcm5719-llvm-4f0a37728052d999a9bbac4cd5d81b1f264567cd.tar.gz
bcm5719-llvm-4f0a37728052d999a9bbac4cd5d81b1f264567cd.zip
Fix TestGdbRemoteLibrariesSvr4Support
D62502 had a bug (visible only with D62503 reverted), where it would error out if attempting to read a string from memory and the memory page after the string happened to be unmapped. This fixes the problem by checking for whether ReadMemory read *any* bytes, instead of checking whether it returned an error. A greater question is whether ReadMemory should even return an error if it read at least one byte, but I'm leaving that for a separate patch. llvm-svn: 364748
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud