Skip to content

Support gdbjit for CPython #133377

Open
Open
@Zheaoli

Description

@Zheaoli

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:

  1. https://sourceware.org/gdb/current/onlinedocs/gdb.html/JIT-Interface.html
  2. https://v8.dev/docs/gdb-jit
  3. https://github.com/v8/v8/blob/main/src/diagnostics/gdb-jit.cc
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-JITtriagedThe issue has been accepted as valid by a triager.type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions