From 0a29616acf6f4bc7e940a58de1e9ef27a2b2191c Mon Sep 17 00:00:00 2001 From: davidxu Date: Tue, 13 Jul 2004 07:22:56 +0000 Subject: 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. --- sys/powerpc/aim/machdep.c | 8 ++++++++ sys/powerpc/powerpc/machdep.c | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to 'sys/powerpc') 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. */ diff --git a/sys/powerpc/powerpc/machdep.c b/sys/powerpc/powerpc/machdep.c index 051a121..4c3199e 100644 --- a/sys/powerpc/powerpc/machdep.c +++ b/sys/powerpc/powerpc/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. */ -- cgit v1.1