summaryrefslogtreecommitdiff
path: root/sys/pc98
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/pc98
parentcbf4e354ec2e443527cf031282f960cd0fd1a7ad (diff)
Notes
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/i386/machdep.c7
-rw-r--r--sys/pc98/pc98/machdep.c7
2 files changed, 14 insertions, 0 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 67e5f71f4f41..96576ee70863 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -2309,6 +2309,13 @@ ptrace_single_step(struct thread *td)
}
int
+ptrace_clear_single_step(struct thread *td)
+{
+ td->td_frame->tf_eflags &= ~PSL_T;
+ return (0);
+}
+
+int
fill_regs(struct thread *td, struct reg *regs)
{
struct pcb *pcb;
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index 67e5f71f4f41..96576ee70863 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -2309,6 +2309,13 @@ ptrace_single_step(struct thread *td)
}
int
+ptrace_clear_single_step(struct thread *td)
+{
+ td->td_frame->tf_eflags &= ~PSL_T;
+ return (0);
+}
+
+int
fill_regs(struct thread *td, struct reg *regs)
{
struct pcb *pcb;