[Lldb-commits] [lldb] [gdbremote] Document MultiMemRead packet in protocol extensions (PR #162675)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 9 11:30:49 PDT 2025


================
@@ -2530,3 +2530,41 @@ read packet: $e0030100#b9
 
 **Priority to Implement:** Only required for Wasm support. Necessary to show
 variables.
+
+### MultiMemRead
+
+Read memory from multiple memory addresses.
+
+There are two arguments to the request:
+
+* `ranges`: a list of base-16 pairs of numbers. Each pair is separated by a
+`,`, as is each number in the pair. The first number of the pair denotes the
+base address of the memory read, the second denotes the number of bytes to be
+read.
+* `options`: an optional string of options. If present, it may be empty. If
+present, it is the last argument of the request.
----------------
bulbazord wrote:

Suggestion:
```
If present, it may be empty. If present, it is the last argument of the request.
```
into
```
If present, it must be the last argument of the request and may be empty.
```

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


More information about the lldb-commits mailing list