git://git.jankratochvil.net
/
debugger.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
80f5793
)
Allow 0 threads found - during early threads initialization.
author
lace
<>
Sat, 16 Jun 2007 13:33:28 +0000
(13:33 +0000)
committer
lace
<>
Sat, 16 Jun 2007 13:33:28 +0000
(13:33 +0000)
debugger.c
patch
|
blob
|
history
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 ();
}
- 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)