summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim/machdep.c
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2004-07-13 07:22:56 +0000
committerdavidxu <davidxu@FreeBSD.org>2004-07-13 07:22:56 +0000
commit0a29616acf6f4bc7e940a58de1e9ef27a2b2191c (patch)
treee1ecc998f02711a0013b59d58ed0909c9107eec1 /sys/powerpc/aim/machdep.c
parent1920ad199e7dd23d7b308c9caa9ed999e2947329 (diff)
downloadFreeBSD-src-0a29616acf6f4bc7e940a58de1e9ef27a2b2191c.zip
FreeBSD-src-0a29616acf6f4bc7e940a58de1e9ef27a2b2191c.tar.gz
Add ptrace_clear_single_step(), alpha already has it for years, the function
will be used by ptrace to clear a thread's single step state.
Diffstat (limited to 'sys/powerpc/aim/machdep.c')
-rw-r--r--sys/powerpc/aim/machdep.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c
index 051a121..4c3199e 100644
--- a/sys/powerpc/aim/machdep.c
+++ b/sys/powerpc/aim/machdep.c
@@ -820,6 +820,14 @@ ptrace_single_step(struct thread *td)
return (ENOSYS);
}
+int
+ptrace_clear_single_step(struct thread *td)
+{
+
+ /* XXX: coming soon... */
+ return (ENOSYS);
+}
+
/*
* Initialise a struct pcpu.
*/
OpenPOWER on IntegriCloud