VOGONS


x86 DR6 bits

Topic actions

First post, by superfury

User metadata
Rank l33t++
Rank
l33t++

When exactly are DR6's bits set (or cleared for DR6/7's bit 13)? Before the exception vector is attempted or after it succeeds? What if it leads to another fault (not triple fault)? Are the bits still set if a general protection fault occurs while trying to parse #DB or #BP?

Last edited by superfury on 2025-10-27, 11:00. Edited 1 time in total.

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io

Reply 1 of 1, by reenigne

User metadata
Rank Oldbie
Rank
Oldbie

They are set before the exception vector is attempted. So yes, they can still be set if there's a fault when trying to enter the breakpoint exception.