================ @@ -2014,6 +2014,45 @@ read packet: $9c01000000000040e501000000000040fe01000000000040# supported by the [WAMR](https://github.com/bytecodealliance/wasm-micro-runtime) and [V8](https://v8.dev) Wasm runtimes. +## qWasmGlobal + +Get the value of a Wasm global variable for the given frame index at the given +variable index. This returns a hex-encoded value. + +send packet: qWasmGlobal:frame_index;index +read packet: ... + +**Priority to Implement:** Only required for Wasm support. This packed is +supported by the [WAMR](https://github.com/bytecodealliance/wasm-micro-runtime) +and [V8](https://v8.dev) Wasm runtimes. + + +## qWasmLocal + +Get the value of a Wasm function argument or local variable for the given frame +index at the given variable index. This returns a hex-encoded value. + +send packet: qWasmGlobal:frame_index;index +read packet: ... + +**Priority to Implement:** Only required for Wasm support. This packed is +supported by the [WAMR](https://github.com/bytecodealliance/wasm-micro-runtime) +and [V8](https://v8.dev) Wasm runtimes. + + +## qWasmStackValue + +Get the value of a Wasm local variable from the Wasm operand stack, for the +given frame index at the given variable index. This returns a hex-encoded +value. + +send packet: qWasmStackValue:frame_index;index +read packet: ... ---------------- DavidSpickett wrote:
actual example https://github.com/llvm/llvm-project/pull/151056 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits