summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-12-16 21:37:06 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-12-16 21:37:06 +0000
commitdefdc31e30518c2ac5c743e48976e853fc986aaa (patch)
tree78b8ec32c766d3fd71eb0e4ce09e5ec5d8b8d94c /sys
parent7fbf0a82ee183b68293a4fea37bd976933bafcad (diff)
Compile out process_sstep() as we don't define PT_STEP, thus nothing uses
these functions. ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/sparc/process_machdep.c4
-rw-r--r--sys/arch/sparc64/sparc64/process_machdep.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/process_machdep.c b/sys/arch/sparc/sparc/process_machdep.c
index 671ac7abce2..95f81a21d0b 100644
--- a/sys/arch/sparc/sparc/process_machdep.c
+++ b/sys/arch/sparc/sparc/process_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: process_machdep.c,v 1.9 2005/12/16 18:48:27 kettenis Exp $ */
+/* $OpenBSD: process_machdep.c,v 1.10 2005/12/16 21:37:04 miod Exp $ */
/* $NetBSD: process_machdep.c,v 1.6 1996/03/14 21:09:26 christos Exp $ */
/*
@@ -117,6 +117,7 @@ process_write_regs(p, regs)
return (0);
}
+#ifdef PT_STEP
int
process_sstep(p, sstep)
struct proc *p;
@@ -126,6 +127,7 @@ process_sstep(p, sstep)
return EINVAL;
return (0);
}
+#endif
int
process_set_pc(p, addr)
diff --git a/sys/arch/sparc64/sparc64/process_machdep.c b/sys/arch/sparc64/sparc64/process_machdep.c
index 381f7a5f254..2053ff0fb2b 100644
--- a/sys/arch/sparc64/sparc64/process_machdep.c
+++ b/sys/arch/sparc64/sparc64/process_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: process_machdep.c,v 1.7 2005/03/29 19:34:07 kettenis Exp $ */
+/* $OpenBSD: process_machdep.c,v 1.8 2005/12/16 21:37:05 miod Exp $ */
/* $NetBSD: process_machdep.c,v 1.10 2000/09/26 22:05:50 eeh Exp $ */
/*
@@ -178,6 +178,7 @@ process_write_regs(p, regs)
return (0);
}
+#ifdef PT_STEP
int
process_sstep(p, sstep)
struct proc *p;
@@ -187,6 +188,7 @@ process_sstep(p, sstep)
return EINVAL;
return (0);
}
+#endif
int
process_set_pc(p, addr)