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

Igor Munkin imun at tarantool.org
Thu Feb 27 13:37:46 MSK 2020


Sasha,

On 27.02.20, Alexander Turenko wrote:
> NB: It seems logical to install the script with tarantool-dev /
> tarantool-devel package. Is there some place, from which gdb loads
> extensions automatically? Maybe `/usr/share/gdb/python/`?

Yes, there is a place where extensions are autoloaded (see the link[1]
for more info). E.g. uJIT package installs its extension to the default
Ubuntu path[2]. Furthemore, one can specify its own path for extension
to be autoloaded on gdb startup.

[1]: https://sourceware.org/gdb/current/onlinedocs/gdb/objfile_002dgdbdotext-file.html#objfile_002dgdbdotext-file
[2]: https://github.com/iponweb/luavela/blob/master/tools/CMakeLists.txt#L133

-- 
Best regards,
IM


More information about the Tarantool-patches mailing list