Stream: git-wasmtime

Topic: wasmtime / PR #1402 Enable GDB JIT debugging


view this post on Zulip Wasmtime GitHub notifications bot (Mar 25 2020 at 18:43):

yurydelendik opened PR #1402 from enable-gdb to master:

After hours of gdb the gdb, found the first issue that prevents JIT symbols to be loaded. It requires DWARF version 4+ to properly parse DW_AT_HIGH, e.g.

https://github.com/bminor/binutils-gdb/blob/0d4a4bc56fc947565ef0dd4b440a157e7d592b09/gdb/dwarf2/read.c#L18040-L18045

The increasing generated DWARF does not break MacOS, and fixes loading JIT symbols in GDB.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 25 2020 at 18:44):

yurydelendik edited PR #1402 from enable-gdb to master:

After hours of gdb the gdb, found the first issue that prevents JIT symbols to be loaded. It requires DWARF version 4+ to properly parse DW_AT_high_pc, e.g.

https://github.com/bminor/binutils-gdb/blob/0d4a4bc56fc947565ef0dd4b440a157e7d592b09/gdb/dwarf2/read.c#L18040-L18045

The increasing generated DWARF does not break MacOS, and fixes loading JIT symbols in GDB.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 25 2020 at 18:45):

yurydelendik requested fitzgen for a review on PR #1402.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 25 2020 at 18:52):

yurydelendik updated PR #1402 from enable-gdb to master:

After hours of gdb the gdb, found the first issue that prevents JIT symbols to be loaded. It requires DWARF version 4+ to properly parse DW_AT_high_pc, e.g.

https://github.com/bminor/binutils-gdb/blob/0d4a4bc56fc947565ef0dd4b440a157e7d592b09/gdb/dwarf2/read.c#L18040-L18045

The increasing generated DWARF does not break MacOS, and fixes loading JIT symbols in GDB.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 26 2020 at 17:08):

fitzgen submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 26 2020 at 17:08):

fitzgen merged PR #1402.


Last updated: Dec 23 2024 at 12:05 UTC