[PATCH] winedbg: Call DebugActiveProcessStop when detaching

Bernhard Übelacker bernhardu at vr-web.de
Fri Jun 14 16:50:35 CDT 2013


Hello,
this patch fixes a problem when detaching winedbg from the debuggee und 
quitting winedbg.
The debuggee then gets killed.

Before commit fbd08d5914336647679783465b0bf2b5ae6e85e7 the debugee 
continued to run.
DebugActiveProcessStop got always called when the parameter "kill" was 
false.

After this commit the debuggee gets killed when leaving winedbg with quit.
Here DebugActiveProcessStop gets only called when "kill" is false and 
"pcs != dbg_curr_process".

With this patch DebugActiveProcessStop is always called when "kill" is 
false as before.

Kind regards,
Bernhard

---
  programs/winedbg/tgt_active.c |    3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winedbg-Call-DebugActiveProcessStop-when-detaching.patch
Type: text/x-patch
Size: 852 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130614/7e9d065a/attachment.bin>


More information about the wine-patches mailing list