From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 7E47A469719 for ; Thu, 27 Feb 2020 13:43:08 +0300 (MSK) Date: Thu, 27 Feb 2020 13:37:46 +0300 From: Igor Munkin Message-ID: <20200227103746.GN404@tarantool.org> References: <20200226231058.2pbkacuxskruqejo@tkn_work_nb> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200226231058.2pbkacuxskruqejo@tkn_work_nb> Subject: Re: [Tarantool-patches] [PATCH v2 luajit 0/3] Introduce gdb extension for LuaJIT List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Turenko Cc: tarantool-patches@dev.tarantool.org 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