sigthread.exp

Mark Kettenis mark.kettenis@xs4all.nl
Sun Jan 28 14:35:00 GMT 2007


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)



More information about the Gdb-patches mailing list