From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12164 invoked by alias); 25 Feb 2010 17:33:23 -0000 Received: (qmail 12147 invoked by uid 22791); 25 Feb 2010 17:33:22 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 25 Feb 2010 17:33:14 +0000 Received: (qmail 17149 invoked from network); 25 Feb 2010 17:33:12 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 25 Feb 2010 17:33:12 -0000 Date: Thu, 25 Feb 2010 17:33:00 -0000 From: Daniel Jacobowitz To: David Miller Cc: gdb-patches@sourceware.org Subject: Re: [PATCH]: Enable catch syscall test on sparc Message-ID: <20100225173306.GA6235@caradoc.them.org> Mail-Followup-To: David Miller , gdb-patches@sourceware.org References: <20100225.080347.123279217.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100225.080347.123279217.davem@davemloft.net> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2010-02/txt/msg00622.txt.bz2 On Thu, Feb 25, 2010 at 08:03:47AM -0800, David Miller wrote: > > Now that these sparc targets support this feature we can enable the > test in the testsuite. > > While doing this I also noticed that the logic for setting the > all_syscalls_numbers array was wrong, the test always evaluates to > true because it goes: > > if (!ARCH1 || !ARCH2 || ... > > instead of the correct: > > if (ARCH1 || ARCH2 || ... > > so that gets fixed here too. > > Ok to commit? OK, thanks. -- Daniel Jacobowitz CodeSourcery