qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Debugging registers DR0, DR7 don't work
@ 2005-02-09 21:50 Paolo Minazzi
  2005-02-09 23:13 ` Fabrice Bellard
  0 siblings, 1 reply; 2+ messages in thread
From: Paolo Minazzi @ 2005-02-09 21:50 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] Debugging registers DR0, DR7 don't work
  2005-02-09 21:50 [Qemu-devel] Debugging registers DR0, DR7 don't work Paolo Minazzi
@ 2005-02-09 23:13 ` Fabrice Bellard
  0 siblings, 0 replies; 2+ messages in thread
From: Fabrice Bellard @ 2005-02-09 23:13 UTC (permalink / raw)
  To: qemu-devel

Paolo Minazzi wrote:
> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-09 23:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-09 21:50 [Qemu-devel] Debugging registers DR0, DR7 don't work Paolo Minazzi
2005-02-09 23:13 ` Fabrice Bellard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).