Skip to content

Commit d59e0ba

Browse files
[lldb][docs] Document qWatchpointSupportInfo (#145709)
1 parent e5a8c51 commit d59e0ba

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

lldb/docs/resources/lldbgdbremote.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1998,6 +1998,23 @@ threads (live system debug) / cores (JTAG) in your program have
19981998
stopped and allows LLDB to display and control your program
19991999
correctly.
20002000
2001+
## qWatchpointSupportInfo
2002+
2003+
Get the number of hardware watchpoints available on the remote target.
2004+
2005+
```
2006+
send packet: $qWatchpointSupportInfo:#55
2007+
read packet: $num:4;#f9
2008+
```
2009+
2010+
`num` is the number of hardware breakpoints, it will be `0` if none are
2011+
available.
2012+
2013+
**Priority to Implement:** Low. If this packet is not supported, LLDB will assume
2014+
that hardware breakpoints are supported. If that is not the case, LLDB assumes
2015+
that the debug stub will respond with an error when asked to set a hardware
2016+
watchpoint.
2017+
20012018
## Stop reply packet extensions
20022019
20032020
This section describes some of the additional information you can

0 commit comments

Comments
 (0)