https://bugs.winehq.org/show_bug.cgi?id=56032
Bug ID: 56032 Summary: winedbg --gdb: gets terminated when target process exits Product: Wine Version: 6.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winedbg Assignee: wine-bugs@winehq.org Reporter: bernhardu@mailbox.org Distribution: ---
Since below commit following sequence shows a termination of winedbg and leaves the terminal in a non-working state.
Before after target process finished one was still at the winedbg prompt.
benutzer@debian:~$ wine winedbg.exe --gdb notepad.exe ... Wine-gdb> cont ... [Inferior 1 (Remote target) exited normally] Wine-gdb> benutzer@debian:~$ benutzer@debian:~$ quit benutzer@debian:~$
commit 6a2325609ceea306c6d7cbce56f29e6589a18903 Author: Alexandre Julliard julliard@winehq.org Date: Mon Oct 4 11:27:43 2021 +0200 winedbg: Use winsock for the gdb socket.
The terminal can be recovered afterwards by "stty sane".