|
From: Paul F. <pa...@so...> - 2025-10-11 13:10:19
|
https://sourceware.org/cgit/valgrind/commit/?id=01db0b93a8b9145d26e2e15da1759f1377f7ee91 commit 01db0b93a8b9145d26e2e15da1759f1377f7ee91 Author: Paul Floyd <pj...@wa...> Date: Sat Oct 11 15:09:46 2025 +0200 NEWS: Add FreeBSD platform section Diff: --- NEWS | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/NEWS b/NEWS index b097e3789f..eebbf4fabd 100644 --- a/NEWS +++ b/NEWS @@ -16,6 +16,21 @@ X86/macOS 10.13, AMD64/macOS 10.13 and nanoMIPS/Linux. * ================== PLATFORM CHANGES ================= +FreeBSD 15 (which is expected to ship in December 2025, after +Valgrind 3.26 is released) contains a change to ptrace that affects +use of Valgrind with vgdb. This impacts the mechanism that vgdb +uses to interrupt Valgrind if all threads are blocked and you want +to get back to the gdb prompt by hitting ctrl-c. This mechanism +is no longer reliable. On arm64 Valgrind will crash with an assert. +On amd64 syscalls may give spurious and incorrect return codes. + +There is a workaround. Run the following command (as root). + + sysctl debug.ptrace_attach_transparent=0 + + See also + https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290008 + * ==================== TOOL CHANGES =================== * There is a new utility script, "vgstack". It has two |