Open
Description
The luajit-gdb.py isn't mentioned in doc. That's no good.
SME: @igormunkin
[@veod32]:
Introduced in release 2.4.1.
Summary from the release notes (LuaJIT section):
Introduce luajit-gdb.py
extension with commands for inspecting LuaJIT internals. The extension obliges one to provide gdbinfo for libluajit
, otherwise loading fails. The extension provides the following commands:
lj-arch
dumps values of LJ_64 and LJ_GC64 macro definitionslj-tv
dumps the type and GCobj info related to the given TValuelj-str
dumps the contents of the given GCstrlj-tab
dumps the contents of the given GCtablj-stack
dumps Lua stack of the given lua_Statelj-state
shows current VM, GC and JIT stateslj-gc
shows current GC stats
More details in this cover letter
ToDo
- The luajit-gdb.py script can be mentioned in some documentation section related to LuaJIT -- research where.
- As for the script usage, there is an internal help that can be started from GDB (GNU Debugger). The help contains all the necessary info for developers, and there is no need to duplicate this in the Tarantool documentation.