[Bug 219153] head, stable/11, release/11.0.1: libkvm (& more?) not updated to handle powerpc/powerpc64 ET_DYN based vmcore.* 's and such
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue May 9 18:34:36 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219153
--- Comment #2 from Mark Millard <markmi at dsl-only.net> ---
(In reply to John Baldwin from comment #1)
The ps -M result for using:
# svnlite diff /usr/src/lib
Index: /usr/src/lib/libkvm/kvm_private.c
===================================================================
--- /usr/src/lib/libkvm/kvm_private.c (revision 317820)
+++ /usr/src/lib/libkvm/kvm_private.c (working copy)
@@ -128,7 +128,9 @@
{
return (kd->nlehdr.e_ident[EI_CLASS] == class &&
- kd->nlehdr.e_type == ET_EXEC &&
+ ( kd->nlehdr.e_type == ET_EXEC ||
+ kd->nlehdr.e_type == ET_DYN
+ ) &&
kd->nlehdr.e_machine == machine);
}
on powerpc (head -r317820 variant) is:
# ps -M /var/crash/vmcore.7
PID TT STAT TIME COMMAND
I.e., the vmcore.* file is not rejected but no
actual list of processes is generated. This is
true of the other 6 vmcore.* 's that I have
around as well.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list