[Bug 51766] New: ^C in gdb mode makes debugger quit
https://bugs.winehq.org/show_bug.cgi?id=51766 Bug ID: 51766 Summary: ^C in gdb mode makes debugger quit Product: Wine Version: 6.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winedbg Assignee: wine-bugs(a)winehq.org Reporter: hi-angel(a)yandex.ru Distribution: --- # Steps to reproduce 1. Run `winedbg --gdb notepad.exe` 2. Once you're dropped in gdb prompt, press ^C (Ctrl+c) ## Expected Prompt gets redrawn a line below ## Actual You are dropped out of winedbg into the terminal. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51766 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #1 from Fabian Maurer <dark.shadow4(a)web.de> --- Confirming. What is weird, winedbg isn't really quit - when you then press "y enter enter" then notepad opens. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51766 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #2 from Fabian Maurer <dark.shadow4(a)web.de> --- Changing status. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51766 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu(a)mailbox.org --- Comment #3 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Created attachment 70681 --> https://bugs.winehq.org/attachment.cgi?id=70681 Slightly improve Ctrl+C handling of winedbg, start, cmd and wineconsole. This patch makes winedbg survive the Ctrl+C and enables it to break into running debuggees. I guess it will make cmd, start and wineconsole more Ctrl+C-proof than wanted, but might serve as a starting point. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51766 --- Comment #4 from Konstantin Kharlamov <hi-angel(a)yandex.ru> --- (In reply to Bernhard Übelacker from comment #3)
Created attachment 70681 [details] Slightly improve Ctrl+C handling of winedbg, start, cmd and wineconsole.
This patch makes winedbg survive the Ctrl+C and enables it to break into running debuggees. I guess it will make cmd, start and wineconsole more Ctrl+C-proof than wanted, but might serve as a starting point.
Thank you! I confirm that applying the patch fixes the problem -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51766 Eric Pouech <eric.pouech(a)orange.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED CC| |eric.pouech(a)orange.fr --- Comment #5 from Eric Pouech <eric.pouech(a)orange.fr> --- should be fixed in Wine tree by 4a206a7ecb9d38fa6ef755d7b1cb47fc6ba81bfe -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51766 Eric Pouech <eric.pouech(a)orange.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |4a206a7ecb9d38fa6ef755d7b1c | |b47fc6ba81bfe -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51766 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 7.0-rc2. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla