From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 9859D1711DBE; Tue, 19 May 2026 15:40:00 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 9859D1711DBE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1779194400; bh=8QWeB+ONtrT8giH66Ta/ZnLNk0FSB8pD8JTbxcyRh7k=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=eeVU8aHGDtqkoUTiINDZq46R08OKw0q49hnZAisbcFFztBAYtWOVU/GPPNa0Xo7IM MmxU7kZh3BP7Lzrr4JuxexzByhmcJ06TGTuDbPZTqPkZGMLfMuMe+d+/MZ6Ar42kHS zBkr8Zw+zEl90meUThGVv25lsDuHnVmTCS+NYTis= Received: from send218.i.mail.ru (send218.i.mail.ru [95.163.59.57]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 394611711D84 for ; Tue, 19 May 2026 15:39:59 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 394611711D84 Received: by exim-smtp-8466d5ddfc-zbcjt with esmtpa (envelope-from ) id 1wPJjq-00000000Fgc-0fvz; Tue, 19 May 2026 15:39:58 +0300 To: Mikhail Elhimov , Sergey Bronnikov , Evgeniy Temirgaleev Date: Tue, 19 May 2026 15:39:07 +0300 Message-ID: <20260519123913.178775-1-skaplun@tarantool.org> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailru-Src: smtp X-618D5548: A9EA38CDAD7F3561411046492FDDF8063FB04C4BB861D49910B0A4238973836A7DB76B535A51A103 X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD98DC58EE55F2C5C37B3A4B3A8651D40747F919B4CB67D6B7B00894C459B0CD1B9A9EA38CDAD7F3561411046492FDDF8064B997FE0A54B1DAA10B0A4238973836A1BB59B39F4C00062 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7CE4525FFB91B9BBCEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637AC83A81C8FD4AD23D82A6BABE6F325AC2E85FA5F3EDFCBAA7353EFBB55337566BAD382DE51689651EE0983EFA1057A78E6297AC5CE0D9CFD841E2990A0B014FE389733CBF5DBD5E913377AFFFEAFD269176DF2183F8FC7C05A64D9A1E9CA65708941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B6E232F00D8D26902CA471835C12D1D977C4224003CC8364762BB6847A3DEAEFB0F43C7A68FF6260569E8FC8737B5C2249D082881546D93491E827F84554CEF50127C277FBC8AE2E8BF1175FABE1C0F9B6AAAE862A0553A39223F8577A6DFFEA7CB3E4D57BB3B05F1143847C11F186F3C59DAA53EE0834AAEE X-87b9d050: 1 X-C1DE0DAB: 0D63561A33F958A51DE6AB0E2ABBA7935002B1117B3ED696D46C1902669096ABF5FEB6EB1EB183FD823CB91A9FED034534781492E4B8EEAD0BC323893F80E328C79554A2A72441328621D336A7BC284946AD531847A6065A535571D14F44ED41 X-C8649E89: 1C3962B70DF3F0ADB58128AB1E6D661A716CD42B3DD1D34C77DD89D51EBB774225B6776AC983F447FC0B9F89525902EE6F57B2FD27647F25E66C117BDB76D65940EC82166DEBA01B3EE3A843163E9CC8687D22156291A1EA38F0B867C4D02FD71D4F02DC41CC0888B8341EE9D5BE9A0A5D79196A75D1BDDC4B43B2A6B51D093C0D6E103DCD7DDFF89350E1BD188BD56E4C41F94D744909CECFA6C6B0C050A61A8CAF69B82BA93681CD72808BE417F3B9E0E7457915DAA85F X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu53w8ahmwBjZKM/YPHZyZHvz5uv+WouB9+ObcCpyrx6l7KImUglyhkEat/+ysWwi0gdhEs0JGjl6ggRWTy1haxBpVdbIX1nthFXMZebaIdHP2ghjoIc/363UZI6Kf1ptIMVax5M0mESuWm/b2boz7Tj1E= X-DA7885C5: 5A5AF583B520AFECF255D290C0D534F98D19B36E363A837993D58EC5BA90536126BB10A5257AE7B55B1A4C17EAA7BC4BEF2421ABFA55128DAF83EF9164C44C7E X-Mailru-Sender: 689FA8AB762F7393520AF17B8A65FDE260B018529FDEBE53228D337503C33EE58FAECEB86E7F2F49E49D44BB4BD9522A059A1ED8796F048DB274557F927329BE89D5A3BC2B10C37545BD1C3CC395C826B4A721A3011E896F X-Mras: Ok Subject: [Tarantool-patches] [PATCH v2 luajit 0/6] Unified extension for debuggers X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Kaplun via Tarantool-patches Reply-To: Sergey Kaplun Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "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