Page MenuHomeFreeBSD

D17319.id.diff
No OneTemporary

D17319.id.diff

Index: head/sys/amd64/amd64/trap.c
===================================================================
--- head/sys/amd64/amd64/trap.c
+++ head/sys/amd64/amd64/trap.c
@@ -659,12 +659,6 @@
KASSERT((read_rflags() & PSL_I) != 0, ("interrupts disabled"));
trapsignal(td, &ksi);
- /*
- * Clear any pending debug exceptions after allowing a
- * debugger to read DR6 while stopped in trapsignal().
- */
- if (type == T_TRCTRAP)
- load_dr6(0);
userret:
userret(td, frame);
KASSERT(PCB_USER_FPU(td->td_pcb),
Index: head/sys/i386/i386/trap.c
===================================================================
--- head/sys/i386/i386/trap.c
+++ head/sys/i386/i386/trap.c
@@ -762,12 +762,6 @@
KASSERT((read_eflags() & PSL_I) != 0, ("interrupts disabled"));
trapsignal(td, &ksi);
- /*
- * Clear any pending debug exceptions after allowing a
- * debugger to read DR6 while stopped in trapsignal().
- */
- if (type == T_TRCTRAP)
- load_dr6(0);
user:
userret(td, frame);
KASSERT(PCB_USER_FPU(td->td_pcb),

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 16, 9:39 AM (11 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31593477
Default Alt Text
D17319.id.diff (1019 B)

Event Timeline