From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4501 invoked by alias); 12 Aug 2004 05:09:40 -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 4494 invoked from network); 12 Aug 2004 05:09:39 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sourceware.org with SMTP; 12 Aug 2004 05:09:39 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 06BDB47D91; Wed, 11 Aug 2004 21:43:42 -0700 (PDT) Date: Thu, 12 Aug 2004 05:09:00 -0000 From: Joel Brobecker To: Peter Schauer , Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: [PATCH] Remove UINT_MAX undef from powerpc/xm-aix.h Message-ID: <20040812044341.GQ25562@gnat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="WkfBGePaEyrk4zXB" Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2004-08/txt/msg00437.txt.bz2 --WkfBGePaEyrk4zXB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 539 Re: http://sources.redhat.com/ml/gdb-patches/2004-08/msg00428.html I have committed the following change. I tested this change by checking visually that the value defined by the system is identical to the value provided by GDB. I also tested it by running the testsuite on both AIX 4.3.2 and 5.1. No regression. 2004-08-11 Joel Brobecker * config/powerpc/xm-aix.h (UINT_MAX): Remove undef. If it turns out that we need this on a certain system, I will fix the problem in directly in configure. -- Joel --WkfBGePaEyrk4zXB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="xm.diff" Content-length: 714 Index: xm-aix.h =================================================================== RCS file: /cvs/src/src/gdb/config/powerpc/xm-aix.h,v retrieving revision 1.5 diff -u -p -r1.5 xm-aix.h --- xm-aix.h 11 Aug 2004 22:28:33 -0000 1.5 +++ xm-aix.h 12 Aug 2004 04:59:39 -0000 @@ -18,9 +18,3 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* UINT_MAX is defined in as a decimal constant (4294967295) - which is too large to fit in a signed int when it is parsed by the - compiler, so it issues a diagnostic. Just undef it here so that we - use gdb's version in defs.h */ -#undef UINT_MAX --WkfBGePaEyrk4zXB--