summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2016-02-28 15:55:59 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2016-02-28 15:55:59 +0000
commitc374ba58f4fb0c58b8e561d79bb54fe3ccbab3e7 (patch)
tree5800f9780b0bd7815a00733ac61b08d6d2ff756a /usr.bin
parentffdc3ff08fbee7eeb56a09b29ba888ea96f4e922 (diff)
drop the support for Linux emulation; ok guenther@ visa@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/kdump/kdump.16
-rw-r--r--usr.bin/kdump/kdump.c7
2 files changed, 3 insertions, 10 deletions
diff --git a/usr.bin/kdump/kdump.1 b/usr.bin/kdump/kdump.1
index 9c30ae338cd..ddbe68386ba 100644
--- a/usr.bin/kdump/kdump.1
+++ b/usr.bin/kdump/kdump.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kdump.1,v 1.28 2016/02/26 21:46:39 naddy Exp $
+.\" $OpenBSD: kdump.1,v 1.29 2016/02/28 15:55:58 naddy Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" from: @(#)kdump.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd $Mdocdate: February 26 2016 $
+.Dd $Mdocdate: February 28 2016 $
.Dt KDUMP 1
.Os
.Sh NAME
@@ -62,8 +62,6 @@ By default, values are printed out in hexadecimal.
.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 .
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 485a59637a0..d2c3a55c4f5 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kdump.c,v 1.120 2015/11/10 04:30:59 guenther Exp $ */
+/* $OpenBSD: kdump.c,v 1.121 2016/02/28 15:55:58 naddy Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -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 }
};