diff options
author | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2017-01-24 22:55:36 +0000 |
---|---|---|
committer | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2017-01-24 22:55:36 +0000 |
commit | 68d7f37d26c8ec621bc43462554526f504e7141d (patch) | |
tree | aa806ad9cdf10dae77392ad990c8af4c6c545b7c /lldb/source/Plugins/Process/Windows/Common | |
parent | e67179bc6c7ca93370409eab5359f3adf337e4cd (diff) | |
download | bcm5719-llvm-68d7f37d26c8ec621bc43462554526f504e7141d.tar.gz bcm5719-llvm-68d7f37d26c8ec621bc43462554526f504e7141d.zip |
Fix a bug where lldb does not respect the packet size.
Summary: LLDB was using packet size advertised by the target as the max memory size to write in one go. It is wrong because packets have other overhead apart from memory payload. Also memory transferred through 'm' and 'M' packets needs 2 bytes in packet to transfer 1 of memory.
Reviewers: clayborg
Reviewed By: clayborg
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D28808
llvm-svn: 292987
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/Common')
0 files changed, 0 insertions, 0 deletions