Skip to contentSkip to conversation

i386 debug exception should set BS of DR6 when single-stepping

Qemu-devel Vegard Nossum 2 participants 3 messages Nov 17, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

I experience the following problem: Setting the trap flag (TF) of the EFLAGS register correctly calls the debug exception DE. However, the DR6 register does not have the single step (BS) flag set.

This patch fixes things for me, and I think it deserves some more attention given that it had no replies at that time and it's not in the latest release.

http://lists.gnu.org/archive/html/qemu-devel/2007-03/msg00126.html

Vegard

#1 lore raw
Quoted 5 lines · ---- Vegard Nossum

Hi,

I experience the following problem: Setting the trap flag (TF) of the EFLAGS register correctly calls the debug exception DE. However, the DR6 register does not have the single step (BS) flag set.

I remember this getting submitted. which version of Qemu are you running? 0.9.0 or 0.9.0-cvs?

Quoted 5 lines

This patch fixes things for me, and I think it deserves some more attention given that it had no replies at that time and it's not in the latest release.

http://lists.gnu.org/archive/html/qemu-devel/2007-03/msg00126.html

This patch was added to CVS on June 26, 07

Ben

#2 lore raw
Quoted 15 lines · Ben Taylor
Quoted 5 lines · ---- Vegard Nossum

Hi,

I experience the following problem: Setting the trap flag (TF) of the EFLAGS register correctly calls the debug exception DE. However, the DR6 register does not have the single step (BS) flag set.

I remember this getting submitted. which version of Qemu are you running? 0.9.0 or 0.9.0-cvs?

Quoted 4 lines

This patch fixes things for me, and I think it deserves some more attention given that it had no replies at that time and it's not in the latest release.

Quoted 6 lines
Quoted 1 line

http://lists.gnu.org/archive/html/qemu-devel/2007-03/msg00126.html

This patch was added to CVS on June 26, 07

Ben

Right, thanks. I couldn't find any view-cvs interface and the cvs snapshot didn't download. I was using the 0.9.0 release, yes.

Vegard