Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v2 luajit 0/6] Unified extension for debuggers
@ 2026-05-19 12:39 Sergey Kaplun via Tarantool-patches
  2026-05-19 12:39 ` [Tarantool-patches] [PATCH v2 luajit 1/6] test: introduce tests for debugging extensions Sergey Kaplun via Tarantool-patches
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Sergey Kaplun via Tarantool-patches @ 2026-05-19 12:39 UTC (permalink / raw)
  To: Mikhail Elhimov, Sergey Bronnikov, Evgeniy Temirgaleev; +Cc: tarantool-patches

This patchset adds tests for LLDB and GDB debugger extensions via the
first commit. The next two commits refactor the LLDB extension and sort
initialized commands alphabetically. The fourth commit adds the
lightuserdata support for LJ_64 for LLDB too. The next commit joins
extension logic into the single file, making the LuaJIT-related code
debugger-agnostic. The last commit adds the CI workflow for arm64 and
x86_64 architectures.

Branch: https://github.com/tarantool/luajit/tree/skaplun/unified-debugger

Changes in the v2:
Moved squashed part of the refactoring from the third commit to the
second one.

Maksim Kokryashkin (1):
  test: introduce tests for debugging extensions

Sergey Kaplun (5):
  lldb: refactor extension
  dbg: sort initialization of commands
  lldb: support full-range 64-bit lightuserdata
  dbg: generalize extension
  ci: introduce workflow to test debugger extension

 .flake8rc                                     |    5 -
 .github/actions/setup-debuggers/README.md     |   13 +
 .github/actions/setup-debuggers/action.yml    |   12 +
 .github/workflows/debuggers.yml               |   61 +
 src/luajit-gdb.py                             |  884 ------------
 src/luajit_dbg.py                             | 1281 +++++++++++++++++
 src/luajit_lldb.py                            | 1124 ---------------
 test/CMakeLists.txt                           |    7 +
 test/tarantool-debugger-tests/CMakeLists.txt  |   93 ++
 .../debug-extension-tests.py                  |  292 ++++
 10 files changed, 1759 insertions(+), 2013 deletions(-)
 create mode 100644 .github/actions/setup-debuggers/README.md
 create mode 100644 .github/actions/setup-debuggers/action.yml
 create mode 100644 .github/workflows/debuggers.yml
 delete mode 100644 src/luajit-gdb.py
 create mode 100644 src/luajit_dbg.py
 delete mode 100644 src/luajit_lldb.py
 create mode 100644 test/tarantool-debugger-tests/CMakeLists.txt
 create mode 100644 test/tarantool-debugger-tests/debug-extension-tests.py

-- 
2.53.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-05-19 12:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-19 12:39 [Tarantool-patches] [PATCH v2 luajit 0/6] Unified extension for debuggers Sergey Kaplun via Tarantool-patches
2026-05-19 12:39 ` [Tarantool-patches] [PATCH v2 luajit 1/6] test: introduce tests for debugging extensions Sergey Kaplun via Tarantool-patches
2026-05-19 12:39 ` [Tarantool-patches] [PATCH v2 luajit 2/6] lldb: refactor extension Sergey Kaplun via Tarantool-patches
2026-05-19 12:39 ` [Tarantool-patches] [PATCH v2 luajit 3/6] dbg: sort initialization of commands Sergey Kaplun via Tarantool-patches
2026-05-19 12:39 ` [Tarantool-patches] [PATCH v2 luajit 4/6] lldb: support full-range 64-bit lightuserdata Sergey Kaplun via Tarantool-patches
2026-05-19 12:39 ` [Tarantool-patches] [PATCH v2 luajit 5/6] dbg: generalize extension Sergey Kaplun via Tarantool-patches
2026-05-19 12:39 ` [Tarantool-patches] [PATCH v2 luajit 6/6] ci: introduce workflow to test debugger extension Sergey Kaplun via Tarantool-patches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox