[all-commits] [llvm/llvm-project] 595353: [lldb] Add QSupported key to report watchpoint typ...
Jason Molenda via All-commits
all-commits at lists.llvm.org
Mon Feb 5 18:45:14 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5953532615595918d006ace2ad83fe33d1cd3915
https://github.com/llvm/llvm-project/commit/5953532615595918d006ace2ad83fe33d1cd3915
Author: Jason Molenda <jmolenda at apple.com>
Date: 2024-02-05 (Mon, 05 Feb 2024)
Changed paths:
M lldb/docs/lldb-gdb-remote.txt
M lldb/include/lldb/Breakpoint/WatchpointAlgorithms.h
M lldb/include/lldb/lldb-enumerations.h
M lldb/include/lldb/lldb-private-enumerations.h
M lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
M lldb/source/Breakpoint/WatchpointAlgorithms.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/test/API/functionalities/watchpoint/large-watchpoint/TestLargeWatchpoint.py
M lldb/tools/debugserver/source/RNBRemote.cpp
Log Message:
-----------
[lldb] Add QSupported key to report watchpoint types supported (#80376)
debugserver on arm64 devices can manage both Byte Address Select
watchpoints (1-8 bytes) and MASK watchpoints (8 bytes-2 gigabytes). This
adds a SupportedWatchpointTypes key to the QSupported response from
debugserver with a list of these, so lldb can take full advantage of
them when creating larger regions with a single hardware watchpoint.
Also add documentation for this, and two other lldb extensions, to the
lldb-gdb-remote.txt documentation.
Re-enable TestLargeWatchpoint.py on Darwin systems when testing with the
in-tree built debugserver. I can remove the "in-tree built debugserver"
in the future when this new key is handled by an Xcode debugserver.
More information about the All-commits
mailing list