[Lldb-commits] [PATCH] D70417: Accept g packet responses that don't supply all registers
Jason Molenda via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Nov 19 12:52:37 PST 2019
jasonmolenda updated this revision to Diff 230129.
jasonmolenda added a reviewer: labath.
jasonmolenda added a comment.
Updated GDBRemoteRegisterContext::ReadRegisterBytes to only mark registers as valid if the full contents for the register are included in the g packet. Updated gdbclientutils.py to strip off the thread specifier from the G packet, if it's present. Change the test file to check that the G packet either includes the full register context or just the general purpose registers.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70417/new/
https://reviews.llvm.org/D70417
Files:
lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestJLink6Armv7RegisterDefinition.py
lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70417.230129.patch
Type: text/x-patch
Size: 13420 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191119/2bbef34a/attachment.bin>
More information about the lldb-commits
mailing list