This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
sigthread.exp
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sourceware dot org
- Date: Sun, 28 Jan 2007 15:35:21 +0100 (CET)
- Subject: sigthread.exp
This test is a bit fragile, since it depends on timing of some
operations. On OpenBSD, 1000000 iterations isn't enough, but
increasing it by a factor 10 does the trick.
ok?
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* gdb.threads/sigthread.c (NSIGS): Make bigger.
Index: gdb.threads/sigthread.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/sigthread.c,v
retrieving revision 1.1
diff -u -p -r1.1 sigthread.c
--- gdb.threads/sigthread.c 8 Jan 2007 21:09:47 -0000 1.1
+++ gdb.threads/sigthread.c 28 Jan 2007 14:30:49 -0000
@@ -18,7 +18,7 @@
/* Loop long enough for GDB to send a few signals of its own, but
don't hang around eating CPU forever if something goes wrong during
testing. */
-#define NSIGS 1000000
+#define NSIGS 10000000
void
handler (int sig)