Page MenuHomeFreeBSD

D36503.diff
No OneTemporary

D36503.diff

diff --git a/sys/arm64/arm64/ptrace_machdep.c b/sys/arm64/arm64/ptrace_machdep.c
--- a/sys/arm64/arm64/ptrace_machdep.c
+++ b/sys/arm64/arm64/ptrace_machdep.c
@@ -113,7 +113,7 @@
KASSERT(*sizep == sizeof(uint32_t),
("%s: invalid size", __func__));
- tp = (uint32_t)td->td_pcb->pcb_tpidr_el0;
+ tp = (uint32_t)td->td_pcb->pcb_tpidrro_el0;
memcpy(buf, &tp, sizeof(tp));
}
*sizep = sizeof(uint32_t);

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 8:27 PM (20 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14664760
Default Alt Text
D36503.diff (419 B)

Event Timeline