projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c0dd46
)
Fix typo in previous commit.
author
David S. Miller
<davem@redhat.com>
Fri, 7 Apr 2006 23:34:26 +0000
(23:34 +0000)
committer
David S. Miller
<davem@redhat.com>
Fri, 7 Apr 2006 23:34:26 +0000
(23:34 +0000)
gdb/linux-nat.c
patch
|
blob
|
history
diff --git
a/gdb/linux-nat.c
b/gdb/linux-nat.c
index a60d8e0cacac2e7013c9bdea3fd0fb9dc8793534..f050e7e83f91545f2f90f89e5ff562de0140f542 100644
(file)
--- a/
gdb/linux-nat.c
+++ b/
gdb/linux-nat.c
@@
-2388,7
+2388,7
@@
linux_nat_thread_alive (ptid_t ptid)
will first do a lookup for the process based upon the
passed-in pid. If that fails we will get either -ESRCH
or -EPERM, otherwise the child exists and is alive. */
- if (errno ==
-ESRCH || errno == -
EPERM)
+ if (errno ==
ESRCH || errno ==
EPERM)
return 0;
return 1;