[llvm-branch-commits] [lldb] [lldbremote][NFC] Factor out code handling breakpoint packets (PR #192915)

Jonas Devlieghere via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Apr 23 08:24:53 PDT 2026


================
@@ -2900,155 +2900,172 @@ GDBRemoteCommunicationServerLLGS::Handle_qMemoryRegionInfo(
   return SendPacketNoLock(response.GetString());
 }
 
-GDBRemoteCommunication::PacketResult
-GDBRemoteCommunicationServerLLGS::Handle_Z(StringExtractorGDBRemote &packet) {
+namespace {
+/// Helper struct to expand a GDBStoppointType into flags.
+struct BreakpointKind {
+  bool want_hardware;
+  bool want_breakpoint;
----------------
JDevlieghere wrote:

This one may deserve a comment.

https://github.com/llvm/llvm-project/pull/192915


More information about the llvm-branch-commits mailing list