[Tarantool-patches] [PATCH v2 luajit 0/3] Introduce gdb extension for LuaJIT

Igor Munkin imun at tarantool.org
Thu Mar 5 12:22:00 MSK 2020


Kirill,

Thanks! As you reminded, here is a ChangeLog entry:

@ChangeLog:
* Introduced luajit-gdb.py extension with commands for inspecting LuaJIT
  internals. The extension obliges the 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 definitions
  - `lj-tv` dumps the type and GCobj info related to the given TValue
  - `lj-str` dumps the contents of the given GCstr
  - `lj-tab` dumps the contents of the given GCtab
  - `lj-stack` dumps Lua stack of the given lua_State
  - `lj-state` shows current VM, GC and JIT states
  - `lj-gc` shows current GC stats

On 05.03.20, Kirill Yukhin wrote:
> Hello,
> 
> On 05 фев 19:22, Igor Munkin wrote:
> > 
> > Signed-off-by: Igor Munkin <imun at tarantool.org>
> 
> I've checked the patchset into tarantool/luajit repo
> and bumped a new version in 1.10, 2.2, 2.3 and master.
> 
> --
> Regards, Kirill Yukhin

Added to the corresponding release notes.

-- 
Best regards,
IM


More information about the Tarantool-patches mailing list