Open
Description
Feature or enhancement
Proposal:
The GDB support a special interface for JIT. The developer can inject some debug info into the JITed code. Both of the LuaJIT and V8 are support GDBJIT
FYI:
- https://sourceware.org/gdb/current/onlinedocs/gdb.html/JIT-Interface.html
- https://v8.dev/docs/gdb-jit
- https://github.com/v8/v8/blob/main/src/diagnostics/gdb-jit.cc
- https://github.com/LuaJIT/LuaJIT/blob/v2.1/src/lj_gdbjit.c
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response