[PATCH v2] Cygwin: pty: Use atexit() instead of hooking exit() for GDB.

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Apr 6 10:21:37 GMT 2021


On Apr  6 09:40, Takashi Yano wrote:
> - This patch utilizes atexit() instead of hooking exit() to clean
>   up pseudo console stuff when debugging non-cygwin app using GDB.
> ---
>  winsup/cygwin/fhandler.h      |   2 +-
>  winsup/cygwin/fhandler_tty.cc | 100 +++++++++++++++++++++++-----------
>  winsup/cygwin/tty.cc          |   2 +
>  3 files changed, 70 insertions(+), 34 deletions(-)
> [...]

All three patches pushed.


Thanks,
Corinna


More information about the Cygwin-patches mailing list