projects
/
deliverable
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
863e4da
)
Stupid git never fucking does what I want!
author
Mark Kettenis
<kettenis@gnu.org>
Fri, 28 Feb 2014 21:58:57 +0000
(22:58 +0100)
committer
Mark Kettenis
<kettenis@gnu.org>
Fri, 28 Feb 2014 21:58:57 +0000
(22:58 +0100)
gdb/obsd-nat.c
patch
|
blob
|
blame
|
history
diff --git
a/gdb/obsd-nat.c
b/gdb/obsd-nat.c
index c17a5658fa714ffde40a0aeed1e3f99eaa061e83..bef03d33ca221e69327188afdfc83b8684291d17 100644
(file)
--- 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
#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 userlan
d
threads directly onto kernel threads in a 1:1
fashion. */
#ifdef PT_GET_THREAD_FIRST
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;
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)
perror_with_name (("ptrace"));
while (pts.pts_tid != -1)
@@
-71,7
+71,7
@@
obsd_find_new_threads (struct target_ops *ops)
add_thread (ptid);
}
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"));
}
}
perror_with_name (("ptrace"));
}
}
This page took
0.026349 seconds
and
4
git commands to generate.