aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r--gdb/linux-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index 30d6857..eadbbc0 100644
--- 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);