https://bugs.winehq.org/show_bug.cgi?id=34340
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com
--- Comment #7 from Damjan Jovanovic damjan.jov@gmail.com --- Still happens in gdb 7.8 on Wine 6.10.
Either using wineconsole instead of wine, or running gdb in batch mode instead of interactively, gets it working - cpp.exe prints its help page and exits (instead of hanging):
wine gdb.exe -ex 'r' -ex 'quit' --args cpp.exe --help