http://bugs.winehq.org/show_bug.cgi?id=7063
------- Additional Comments From p.beutner@gmx.net 2007-04-02 12:06 ------- hmm, I don't see how your test shows that the first part is incorrect? It runs successfully with the first part applied, because it doesn't even execute this specific code path. This part only does something if a debugger, which handles the breakpoint exception, is connected to the process.
Without the first part of the patch winedbg won't work anymore. If you are at a breakpoint and press 'c' to continue, you don't get over this breakpoint because nobody increases the eip register. That said, I'm not sure if this fix belongs into that place where I put it, or rather in winedbg itself or some other place(ContinueDebugEvent??). Haven't got time to look into this. But without this part the patch definitely isn't correct ;)