Page MenuHomeFreeBSD

D29672.id87113.diff
No OneTemporary

D29672.id87113.diff

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

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)

Event Timeline