http://bugs.winehq.org/show_bug.cgi?id=58335
--- Comment #50 from Bernhard Übelacker bernhardu@mailbox.org --- (In reply to Michael Setzer II from comment #38)
OK. Was a simple text file in my home directory called wine. Just had the list of wine rpm files.
Then I guess following could work, to reach debugging winecfg.exe:
wineserver -k gdb -q --args /usr/bin/wine winecfg set debuginfod enabled on handle SIGUSR1 nostop noprint catch fork run cont cont set follow-fork-mode child cont cont set follow-fork-mode parent dele 1 display/i $pc cont bt info reg detach q
(But there are plenty things that could go wrong if the order or number of processes getting created is different than in my test system with clean wineprefix.)