Re:Debugging WebAssembly with Modern Tools
by RReverser on Friday December 11, 2020 @09:02AM
(#25385825)
You will be able to build your own extension with any backend in the future, but I'm curious what you're looking to gain from that?
I don't know whether GDB understands the Wasm-specific constructs in DWARF, while the current integration uses LLDB under the hood, which does support those.
Re:Debugging WebAssembly with Modern Tools
by RReverser on Friday December 18, 2020 @07:39PM
(#25473838)
I guess you'd have to make series of patches to GDB to make it work, as well as to build your own DevTools extension once the API is stable, but in theory should be possible, yeah.
I don't know whether GDB understands the Wasm-specific constructs in DWARF, while the current integration uses LLDB under the hood, which does support those.