This drops the support for Linux emulation from kdump(1). It is functionally independent from the COMPAT_LINUX diff.
I've left the -e switch in place, although there are now no other emulations available. Index: kdump.1 =================================================================== RCS file: /cvs/src/usr.bin/kdump/kdump.1,v retrieving revision 1.28 diff -u -p -r1.28 kdump.1 --- kdump.1 26 Feb 2016 21:46:39 -0000 1.28 +++ kdump.1 27 Feb 2016 22:02:29 -0000 @@ -62,8 +62,6 @@ By default, values are printed out in he .It Fl e Ar emulation Interpret system call maps assuming the named emulation instead of .Qq native . -For example, to view trace output from a Linux binary, use -.Fl e Ar linux . .It Fl f Ar file Display the specified file instead of .Pa ktrace.out . Index: kdump.c =================================================================== RCS file: /cvs/src/usr.bin/kdump/kdump.c,v retrieving revision 1.120 diff -u -p -r1.120 kdump.c --- kdump.c 10 Nov 2015 04:30:59 -0000 1.120 +++ kdump.c 27 Feb 2016 22:03:37 -0000 @@ -84,8 +84,6 @@ pid_t pid_opt = -1; #include <sys/syscall.h> -#include <compat/linux/linux_syscall.h> - #define KTRACE #define PTRACE #define NFSCLIENT @@ -95,8 +93,6 @@ pid_t pid_opt = -1; #define SYSVSHM #define ACCOUNTING #include <kern/syscalls.c> - -#include <compat/linux/linux_syscalls.c> #undef KTRACE #undef PTRACE #undef NFSCLIENT @@ -114,7 +110,6 @@ struct emulation { static struct emulation emulations[] = { { "native", syscallnames, SYS_MAXSYSCALL }, - { "linux", linux_syscallnames, LINUX_SYS_MAXSYSCALL }, { NULL, NULL, 0 } }; -- Christian "naddy" Weisgerber na...@mips.inka.de