I haven't noticed any access to DR7. The code looks like DR2 should be written at some point, but I haven't been able to find where. I think it would help if we could implement an exception handler for DR0..3 read/write accesses which would just store the value somewhere in memory and return it when the DR registers are read.
let me know if this helps
Your patch looks fine, and I think it will solve my problem, but I haven't been able to test it. Before accessing DR2, the program tries to read/write from the interrupt vector table, which results in an exception and the debugger being launched.
I'd try to implement support for that in wine, but I don't know where to look... I basically need to be able to read/write the interrupt vector table (for int 0x00 here), AND to execute the modified interrupt vector when a division by 0 is executed. Any idea ?
Laurent Pinchart