From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10012 invoked by alias); 28 Jan 2007 14:35:30 -0000 Received: (qmail 10003 invoked by uid 22791); 28 Jan 2007 14:35:29 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO brahms.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 28 Jan 2007 14:35:25 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.13.8/8.13.8) with ESMTP id l0SEZMgt014518 for ; Sun, 28 Jan 2007 15:35:22 +0100 (CET) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.13.8/8.13.8/Submit) id l0SEZLrx027406; Sun, 28 Jan 2007 15:35:21 +0100 (CET) Date: Sun, 28 Jan 2007 14:35:00 -0000 Message-Id: <200701281435.l0SEZLrx027406@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: gdb-patches@sourceware.org Subject: sigthread.exp Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00566.txt.bz2 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 * 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)