[Lldb-commits] [PATCH] D97498: [LLDB] Support GDB remote g packet partial read
Muhammad Omair Javaid via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 25 13:50:04 PST 2021
omjavaid created this revision.
omjavaid added a reviewer: labath.
omjavaid requested review of this revision.
GDB remote protocol does not specify length of g packet for register read. It depends on remote to include all or exclude certain registers from g packet. In case a register or set of registers is not included as part of g packet then we should fall back to p packet for reading all registers excluded from g packet by remote. This patch adds support for above feature and adds a test-case for the same.
https://reviews.llvm.org/D97498
Files:
lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h
lldb/test/API/functionalities/gdb_remote_client/TestPartialGPacket.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97498.326485.patch
Type: text/x-patch
Size: 7964 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210225/fe60fe64/attachment.bin>
More information about the lldb-commits
mailing list