[Tarantool-patches] [PATCH luajit] debug: generalized extension

Sergey Bronnikov sergeyb at tarantool.org
Wed Oct 4 12:01:22 MSK 2023


Hi, Max


On 9/18/23 17:26, Maxim Kokryashkin wrote:
> This patch joins the LLDB and GDB LuaJIT debugging extensions
> into one, so now the extension logic can be debugger-agnostic.
> To do that, an adapter class is introduced, and all of the
> debugger-specific behavior is encapsulated there. The extension
> auto-detects the debugger it was loaded into and selects the
> correct low-level logic implementation.
> ---
> Branch: https://github.com/tarantool/luajit/tree/fckxorg/generalized-debugger
>   src/luajit-gdb.py                     | 885 --------------------------
>   src/{luajit_lldb.py => luajit_dbg.py} | 617 ++++++++++++------
>   2 files changed, 417 insertions(+), 1085 deletions(-)

There is a diff with 2k lines. How does one can make sure that there are 
no regressions after refactoring?

<snipped>



More information about the Tarantool-patches mailing list