Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173432456
D29672.id87113.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
496 B
Referenced Files
None
Subscribers
None
D29672.id87113.diff
View Options
Index: sys/arm64/arm64/machdep.c
===================================================================
--- sys/arm64/arm64/machdep.c
+++ sys/arm64/arm64/machdep.c
@@ -569,7 +569,10 @@
vfp_reset_state(td, pcb);
#endif
- /* TODO: Shouldn't we also reset pcb_dbg_regs? */
+ /*
+ * Clear debug register state. It is not applicable to the new process.
+ */
+ bzero(&pcb->pcb_dbg_regs, sizeof(pcb->pcb_dbg_regs));
}
/* Sanity check these are the same size, they will be memcpy'd to and fro */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 26, 9:57 PM (7 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39698242
Default Alt Text
D29672.id87113.diff (496 B)
Attached To
Mode
D29672: arm64: clear debug registers in exec_setregs()
Attached
Detach File
Event Timeline
Log In to Comment