https://bugs.winehq.org/show_bug.cgi?id=50117
Bug ID: 50117 Summary: winedbg --gdb doesn't work Product: Wine Version: 5.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winedbg Assignee: wine-bugs@winehq.org Reporter: tomsod-m@ya.ru Distribution: ---
After updating wine, winedbg's GDB mode stopped working for me. Instead of attaching to a program, it starts the program, then terminates itself. The latest unaffected version is 5.17; 5.18 to 5.21 all have this bug. The default mode of winedbg (without --gdb) works as expected, however.
Steps to reproduce: run e.g. "winedbg --gdb notepad.exe".
Expected behavior: winedbg stops at notepad's entry point and prompts for commands.
Observed behavior: winedbg quits almost immediately, notepad runs freely.
https://bugs.winehq.org/show_bug.cgi?id=50117
grandchild grandchild@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |grandchild@mailbox.org
--- Comment #1 from grandchild grandchild@mailbox.org --- I noticed the same thing when going from 6.4 to 6.5, but I've opened a separate bug since it's a different version:
https://bugs.winehq.org/show_bug.cgi?id=50973
https://bugs.winehq.org/show_bug.cgi?id=50117
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |54e117018cd4cc58c258da92686 | |bfad13946bde2
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- This is a regression caused by the Unix console not being inherited in child processes:
commit 54e117018cd4cc58c258da92686bfad13946bde2 Author: Jacek Caban jacek@codeweavers.com Date: Mon Sep 21 17:07:29 2020 +0200
kernelbase: Use conhost to handle Unix consoles.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=50117
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- *** Bug 50973 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=50117
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |iroalexis@outlook.fr
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- *** Bug 51055 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=50117
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mail@robbertvanderhelm.nl
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- *** Bug 50879 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=50117
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression, source
https://bugs.winehq.org/show_bug.cgi?id=50117
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #6 from Jacek Caban jacek@codeweavers.com --- Created attachment 69958 --> https://bugs.winehq.org/attachment.cgi?id=69958 fix
The attached (barely tested) patch should help.
https://bugs.winehq.org/show_bug.cgi?id=50117
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #7 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Jacek Caban from comment #6)
Created attachment 69958 [details]
I can confirm this works for winecfg at least.
https://bugs.winehq.org/show_bug.cgi?id=50117
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |fdf568aaaef658de63f94d8f58f | |eb872105f5c7c Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #8 from Jacek Caban jacek@codeweavers.com --- This is fixed in git. Thanks for the report and for looking into it.
https://bugs.winehq.org/show_bug.cgi?id=50117
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.8.
https://bugs.winehq.org/show_bug.cgi?id=50117
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jkfloris@dds.nl
--- Comment #10 from Gijs Vermeulen gijsvrm@gmail.com --- *** Bug 50524 has been marked as a duplicate of this bug. ***