From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21702 invoked by alias); 3 Dec 2002 04:20:14 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 21694 invoked from network); 3 Dec 2002 04:20:13 -0000 Received: from unknown (HELO duracef.shout.net) (204.253.184.12) by sources.redhat.com with SMTP; 3 Dec 2002 04:20:13 -0000 Received: (from mec@localhost) by duracef.shout.net (8.11.6/8.11.6) id gB34KD920675 for gdb-patches@sources.redhat.com; Mon, 2 Dec 2002 22:20:13 -0600 Date: Mon, 02 Dec 2002 20:20:00 -0000 From: Michael Elizabeth Chastain Message-Id: <200212030420.gB34KD920675@duracef.shout.net> To: gdb-patches@sources.redhat.com Subject: [RFA] port simple gdb.threads/schedlock.c test fix to branch X-SW-Source: 2002-12/txt/msg00049.txt.bz2 I would like to port this fix from mainline to 5.3 branch: http://sources.redhat.com/ml/gdb-patches/2002-10/msg00454.html 2002-10-22 Daniel Jacobowitz * gdb.threads/schedlock.c (args): Make unsigned. Note that this is a test program fix, not a gdb fix. This fix improves the results from schedlock.exp, making them more accurate and reproducible. Right now, I'm getting random failures in schedlock.exp on the branch, and it takes work to determine that the failures really are random and not correlated with different versions of gcc and binutils. I tested this patch in my test bed with 66 different configurations (on the 5.3 branch) and it works fine. And, of course, it's been working in mainline just fine. I think this is obvious, but since I've been away for a while, I just want to check first. Okay to apply to the 5.3 branch? Michael C === 2002-12-02 Michael Chastain From mainline: 2002-10-22 Daniel Jacobowitz * gdb.threads/schedlock.c (args): Make unsigned. Index: testsuite/gdb.threads/schedlock.c =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/schedlock.c,v retrieving revision 1.1 diff -u -p -r1.1 schedlock.c --- testsuite/gdb.threads/schedlock.c 23 Aug 2002 20:32:02 -0000 1.1 +++ testsuite/gdb.threads/schedlock.c 23 Oct 2002 03:21:13 -0000 @@ -7,7 +7,7 @@ void *thread_function(void *arg); /* Poi #define NUM 5 -int args[NUM+1]; +unsigned int args[NUM+1]; int main() { int res;