Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@gnat.com>
To: Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>,
	Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: [PATCH] Remove UINT_MAX undef from powerpc/xm-aix.h
Date: Thu, 12 Aug 2004 05:09:00 -0000	[thread overview]
Message-ID: <20040812044341.GQ25562@gnat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 539 bytes --]

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  <brobecker@gnat.com>

        * 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

[-- Attachment #2: xm.diff --]
[-- Type: text/plain, Size: 714 bytes --]

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 <sys/limits.h> 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

             reply	other threads:[~2004-08-12  5:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-12  5:09 Joel Brobecker [this message]
2004-08-12 11:47 ` Michael Chastain
2004-08-12 12:56   ` Daniel Jacobowitz
2004-08-12 15:07   ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040812044341.GQ25562@gnat.com \
    --to=brobecker@gnat.com \
    --cc=Peter.Schauer@regent.e-technik.tu-muenchen.de \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kevinb@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox