On Mon May 25 22:24:51 2026 +0000, Bernhard Übelacker wrote:
I had trouble to use gdbunwind.py here with Debian gdb. ``` (gdb) source .../wine/tools/gdbunwind.py Python Exception <class 'TypeError'>: Unwinder.__init__() takes 2 positional arguments but 3 were given Error occurred in Python: Unwinder.__init__() takes 2 positional arguments but 3 were given ``` When I make following change, it works here too: ```diff - super().__init__("WineSyscallUnwinder", gdb.SIGTRAMP_FRAME) + super().__init__("WineSyscallUnwinder") ``` It originally needed https://gitlab.winehq.org/rbernon/binutils-gdb/-/commit/7725b24533c218787e36... to work, I had tried to send it upstream but I was told that some effort was under way to make the unwinder API more flexible and perhaps it should be done differently now, but haven't looked into it.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/1074#note_141404