aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/sparc64/machdep.c
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2004-07-13 07:22:56 +0000
committerDavid Xu <davidxu@FreeBSD.org>2004-07-13 07:22:56 +0000
commit53dbf303491f486ef2c376e6330280cf2bd2d162 (patch)
treee1ecc998f02711a0013b59d58ed0909c9107eec1 /sys/sparc64/sparc64/machdep.c
parentcbf4e354ec2e443527cf031282f960cd0fd1a7ad (diff)
downloadsrc-53dbf303491f486ef2c376e6330280cf2bd2d162.tar.gz
src-53dbf303491f486ef2c376e6330280cf2bd2d162.zip
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.
Notes
Notes: svn path=/head/; revision=132088
Diffstat (limited to 'sys/sparc64/sparc64/machdep.c')
-rw-r--r--sys/sparc64/sparc64/machdep.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/sparc64/sparc64/machdep.c b/sys/sparc64/sparc64/machdep.c
index 1671af43824f..73e6aa346c7c 100644
--- a/sys/sparc64/sparc64/machdep.c
+++ b/sys/sparc64/sparc64/machdep.c
@@ -711,6 +711,13 @@ ptrace_single_step(struct thread *td)
return (0);
}
+int
+ptrace_clear_single_step(struct thread *td)
+{
+ /* TODO; */
+ return (0);
+}
+
void
exec_setregs(struct thread *td, u_long entry, u_long stack, u_long ps_strings)
{