git://git.jankratochvil.net
/
debugger.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow 0 threads found - during early threads initialization.
[debugger.git]
/
debugger.c
diff --git
a/debugger.c
b/debugger.c
index
43cb370
..
ffea7de
100644
(file)
--- a/
debugger.c
+++ b/
debugger.c
@@
-577,7
+577,8
@@
static void attach_multi (struct attach_state_struct *attach_state)
fprintf (stderr, "err = %d\n", err);
abort ();
}
fprintf (stderr, "err = %d\n", err);
abort ();
}
- assert (attach_state->threads_count > 0);
+ /* Do not: assert (attach_state->threads_count > 0);
+ as during early initialization we really may get 0. */
}
struct attach_state_struct *attach (pid_t pid)
}
struct attach_state_struct *attach (pid_t pid)