[Lldb-commits] [lldb] [lldb] Add QSupported key to report watchpoint types supported (PR #80376)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 5 01:30:02 PST 2024
================
@@ -38,7 +38,43 @@ read packet: +
read packet: $OK#9a
send packet: +
+//----------------------------------------------------------------------
+// "QSupported"
+//
+// BRIEF
+// Query the GDB remote server for features it supports
+//
+// PRIORITY TO IMPLEMENT
+// Optional.
+//----------------------------------------------------------------------
+QSupported is a standard GDB Remote Serial Protocol packet, but
+there are several additions to the response that lldb can parse.
+An example exchange:
+
+send packet: qSupported:xmlRegisters=i386,arm,mips,arc;multiprocess+;fork-events+;vfork-events+
+
+read packet: qXfer:features:read+;PacketSize=20000;qEcho+;native-signals+;SupportedCompressions=lzfse,zlib-deflate,lz4,lzma;SupportedWatchpointTypes=aarch64-mask,aarch64-bas;
+
+In this example, three lldb extensions are shown:
+
+ PacketSize=20000
+ The base16 maximum packet size that the stub can handle.
----------------
DavidSpickett wrote:
I was mostly confused by the lack of a space between base and 16. "base 16" is recognisable, "base16" sounds like a nightclub.I was mostly confused by the lack of a space between base and 16. "base 16" is recognisable, "base16" sounds like a nightclub.
https://github.com/llvm/llvm-project/pull/80376
More information about the lldb-commits
mailing list