mh4ck-Thales wrote:

> Hi @mh4ck-Thales this is caused by [#77949 
> (comment)](https://github.com/llvm/llvm-project/pull/77949#discussion_r1463458728),
>  currently we need to modify it manually.

Thanks! That did the trick for the breakpoint and disassembly problems. When 
using `read register` I can only see `pc` and nothing else though. I'm not sure 
assimilating Wasm variables to registers is the good way to go anyway, because 
the number of Wasm variables is not fixed in advance, and subject to the 
context of execution (with local variables). This is not the case at all for 
classic CPU registers, and I'm not sure the generic code managing registers in 
lldb will support that. Using a solution like @jimingham proposed with 
subcommands of `language wasm` may be a easier, less bug prone way to implement 
this. 

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