paolosevMSFT wrote:

> > > A WebAssembly debugging session can be started using the new command:
> > > wasm [:]
> > 
> > 
> > What about wasm requires a new command, given that you are connecting to a 
> > GDB server as existing targets do.
> 
> +1! I don't think this needs a new command, it could just use `gdb-remote 
> [<hostname>:]<portnum>` command.

It is true that a new command is not really necessary. This command also works:
` process connect --plugin wasm connect://localhost:8765`

But currently a simple `gdb-remote [<hostname>:]<portnum>` does not enable the 
"wasm' plugin. Is there a way to detect that we are debugging WebAssembly at 
connect time?

https://github.com/llvm/llvm-project/pull/77949
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to