summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/linux_ptrace.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-03-03 09:17:12 +0000
committerdes <des@FreeBSD.org>2003-03-03 09:17:12 +0000
commit3c182bd3cd14b38db69ecb7fbaa4fbad85bf23c4 (patch)
tree60276925092cec90d0959942b4beda059d93328f /sys/i386/linux/linux_ptrace.c
parent021faa11ac3e8868e33ee981995319d77cba1b58 (diff)
downloadFreeBSD-src-3c182bd3cd14b38db69ecb7fbaa4fbad85bf23c4.zip
FreeBSD-src-3c182bd3cd14b38db69ecb7fbaa4fbad85bf23c4.tar.gz
Clean up whitespace and remove register keyword.
Diffstat (limited to 'sys/i386/linux/linux_ptrace.c')
-rw-r--r--sys/i386/linux/linux_ptrace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/linux/linux_ptrace.c b/sys/i386/linux/linux_ptrace.c
index 284c84a..530946a 100644
--- a/sys/i386/linux/linux_ptrace.c
+++ b/sys/i386/linux/linux_ptrace.c
@@ -346,7 +346,7 @@ linux_ptrace(struct thread *td, struct linux_ptrace_args *uap)
break;
#endif
/* FALL THROUGH */
- case PTRACE_GETFPXREGS: {
+ case PTRACE_GETFPXREGS: {
#ifdef CPU_ENABLE_SSE
struct proc *p;
struct thread *td2;
@@ -449,7 +449,7 @@ linux_ptrace(struct thread *td, struct linux_ptrace_args *uap)
map_regs_from_linux(&u.bsd_reg, &r.reg);
error = kern_ptrace(td, PT_SETREGS, pid, &u.bsd_reg, 0);
}
-
+
/*
* Simulate debug registers access
*/
@@ -459,7 +459,7 @@ linux_ptrace(struct thread *td, struct linux_ptrace_args *uap)
0);
if (error != 0)
break;
-
+
uap->addr -= LINUX_DBREG_OFFSET;
if (req == PTRACE_PEEKUSR) {
error = copyout((char *)&u.bsd_dbreg +
OpenPOWER on IntegriCloud