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:
e777132
)
2011-09-09 Pedro Alves <pedro@codesourcery.com>
author
Pedro Alves
<palves@redhat.com>
Fri, 9 Sep 2011 19:20:24 +0000
(19:20 +0000)
committer
Pedro Alves
<palves@redhat.com>
Fri, 9 Sep 2011 19:20:24 +0000
(19:20 +0000)
* linux-nat.c (lin_lwp_attach_lwp): Return 1 (ignore) instead of
-1 (error), if the lwp exits right after attaching.
gdb/ChangeLog
patch
|
blob
|
history
gdb/linux-nat.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 6bcde929b630b21252b14436e6e2c2a94608cb4c..8102cff2a3402266fbe820a2d1d181458a8ee98f 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,8
@@
+2011-09-09 Pedro Alves <pedro@codesourcery.com>
+
+ * linux-nat.c (lin_lwp_attach_lwp): Return 1 (ignore) instead of
+ -1 (error), if the lwp exits right after attaching.
+
2011-09-08 Doug Evans <dje@google.com>
* py-cmd.c: Some minor formatting fixes.
diff --git
a/gdb/linux-nat.c
b/gdb/linux-nat.c
index 30d6857056df1cbc7494ac8a1429f8470a7fe831..eadbbc0f2e466fff856b1798a5b5bae1068fc789 100644
(file)
--- a/
gdb/linux-nat.c
+++ b/
gdb/linux-nat.c
@@
-1479,7
+1479,7
@@
lin_lwp_attach_lwp (ptid_t ptid)
if (!WIFSTOPPED (status))
{
restore_child_signals_mask (&prev_mask);
- return
-
1;
+ return 1;
}
lp = add_lwp (ptid);