Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152453293
D17319.id48456.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
989 B
Referenced Files
None
Subscribers
None
D17319.id48456.diff
View Options
Index: sys/amd64/amd64/trap.c
===================================================================
--- sys/amd64/amd64/trap.c
+++ 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: sys/i386/i386/trap.c
===================================================================
--- sys/i386/i386/trap.c
+++ 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
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 16, 1:47 AM (4 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31569188
Default Alt Text
D17319.id48456.diff (989 B)
Attached To
Mode
D17319: Don't clear DR6 for debug exceptions from userland.
Attached
Detach File
Event Timeline
Log In to Comment