https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/145709
None >From f6411a087299e570db9ef4a460c2ed2048160c39 Mon Sep 17 00:00:00 2001 From: David Spickett <david.spick...@linaro.org> Date: Wed, 25 Jun 2025 14:12:37 +0000 Subject: [PATCH] [lldb][docs] Document qWatchpointSupportInfo --- lldb/docs/resources/lldbgdbremote.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/lldb/docs/resources/lldbgdbremote.md b/lldb/docs/resources/lldbgdbremote.md index 162815148a18b..80c68091ecd07 100644 --- a/lldb/docs/resources/lldbgdbremote.md +++ b/lldb/docs/resources/lldbgdbremote.md @@ -1998,6 +1998,23 @@ threads (live system debug) / cores (JTAG) in your program have stopped and allows LLDB to display and control your program correctly. +## qWatchpointSupportInfo + +Get the number of hardware watchpoints available on the remote target. + +``` +send packet: $qWatchpointSupportInfo:#55 +read packet: $num:4;#f9 +``` + +`num` is the number of hardware breakpoints, it will be `0` if none are +available. + +**Priority to Implement:** Low. If this packet is not supported, LLDB will assume +that hardware breakpoints are supported. If that is not the case, LLDB assumes +that the debug stub will respond with an error when asked to set a hardware +watchpoint. + ## Stop reply packet extensions This section describes some of the additional information you can _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits