Debugging registers DR0, DR7 don't work
I'm Paolo Minazzi and I am a new user of QEMU.
I use it to learn protected mode programming in asm. QEMU is very useful as I can avoid to reset continuosly my PC.
Nevertheless I have a problem.
I have tried to write an asm program to try dr0 and dr7 debugging register. I have found that this register don' work and I cannot receive the excepction 1. My program instead works fine in a real DOS system.
Does someone indicate me how to enable debugging register with QEMU ?
Thanks in advance
Paolo Minazzi
Quoted 10 lines · Paolo Minazzi
I'm Paolo Minazzi and I am a new user of QEMU.
I use it to learn protected mode programming in asm. QEMU is very useful as I can avoid to reset continuosly my PC.Nevertheless I have a problem.
I have tried to write an asm program to try dr0 and dr7 debugging register. I have found that this register don' work and I cannot receive the excepction 1. My program instead works fine in a real DOS system.Does someone indicate me how to enable debugging register with QEMU ?
Debug registers are currently unsupported by QEMU, but there is nothing preventing to support them.
With the upcoming QEMU Accelerator Module, they are supported for CPL=3 (= for user code, which is the most useful).
Fabrice.