aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2014-02-28 22:58:57 +0100
committerMark Kettenis <kettenis@gnu.org>2014-02-28 22:58:57 +0100
commitab4756af55ddfeade06d9a14c0bd9e5c64145467 (patch)
tree0ea9fed7c6e4c10b03605f2eb5f64c5ae94ebcfd /gdb
parent863e4da4b6713fbd0b3a19fe3a7f7be1ea34f704 (diff)
downloadgdb-ab4756af55ddfeade06d9a14c0bd9e5c64145467.zip
gdb-ab4756af55ddfeade06d9a14c0bd9e5c64145467.tar.gz
gdb-ab4756af55ddfeade06d9a14c0bd9e5c64145467.tar.bz2
Stupid git never fucking does what I want!
Diffstat (limited to 'gdb')
-rw-r--r--gdb/obsd-nat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/obsd-nat.c b/gdb/obsd-nat.c
index c17a565..bef03d3 100644
--- a/gdb/obsd-nat.c
+++ b/gdb/obsd-nat.c
@@ -31,7 +31,7 @@
#include "obsd-nat.h"
/* OpenBSD 5.2 and later include rthreads which uses a thread model
- that maps userlan threads directly onto kernel threads in a 1:1
+ that maps userland threads directly onto kernel threads in a 1:1
fashion. */
#ifdef PT_GET_THREAD_FIRST
@@ -56,7 +56,7 @@ obsd_find_new_threads (struct target_ops *ops)
pid_t pid = ptid_get_pid (inferior_ptid);
struct ptrace_thread_state pts;
- if (ptrace(PT_GET_THREAD_FIRST, pid, (caddr_t)&pts, sizeof pts) == -1)
+ if (ptrace (PT_GET_THREAD_FIRST, pid, (caddr_t)&pts, sizeof pts) == -1)
perror_with_name (("ptrace"));
while (pts.pts_tid != -1)
@@ -71,7 +71,7 @@ obsd_find_new_threads (struct target_ops *ops)
add_thread (ptid);
}
- if (ptrace(PT_GET_THREAD_NEXT, pid, (caddr_t)&pts, sizeof pts) == -1)
+ if (ptrace (PT_GET_THREAD_NEXT, pid, (caddr_t)&pts, sizeof pts) == -1)
perror_with_name (("ptrace"));
}
}