https://bugs.winehq.org/show_bug.cgi?id=45815
--- Comment #5 from jimbo1qaz jimbo1qaz@gmail.com --- would be nice if I could use `gdb --args wine exe` and have it pick up symbols...
apt install wine-devel-dbg:i386 (note, amd64 didn't supply 32-bit symbols, and conflicts with i386 due to widl) gdb --args wine j0CC-Famitracker-j0.6.1.exe
Reading symbols from wine...Reading symbols from /usr/lib/debug//opt/wine-devel/bin/wine...done.
(gdb) b GetWindow Function "GetWindow" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (GetWindow) pending. (gdb) b GetTopWindow Function "GetTopWindow" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 2 (GetTopWindow) pending. (gdb) b CallWindowProcA Function "CallWindowProcA" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 3 (CallWindowProcA) pending. (gdb) r Starting program: /usr/bin/wine j0CC-Famitracker-j0.6.1.exe
you have to continue past SIGUSR1 twice (0xf7ffcc89), but none of the breakpoints trigger.