From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25241 invoked by alias); 8 Aug 2004 13:57:19 -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 25234 invoked from network); 8 Aug 2004 13:57:18 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 8 Aug 2004 13:57:18 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i78DvDe3003126 for ; Sun, 8 Aug 2004 09:57:18 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i78DvCa29871; Sun, 8 Aug 2004 09:57:12 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 2881E2B9D; Sun, 8 Aug 2004 09:57:06 -0400 (EDT) Message-ID: <41163131.6090001@gnu.org> Date: Sun, 08 Aug 2004 13:57:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040801 MIME-Version: 1.0 To: Mark Kettenis , brobecker@gnat.com Cc: gdb-patches@sources.redhat.com, cagney@redhat.com, Peter.dot.Schauer.at.regent.dot.e-technik.dot.tu-muenchen.dot.de@kettenis.dyndns.org, kevinb.at.redhat.dot.com@kettenis.dyndns.org Subject: Re: [RFC/AIX] xm-aix4.h - Remove USG #define References: <20040808044649.GC24160@gnat.com> <200408081232.i78CWwfh015063@elgar.kettenis.dyndns.org> In-Reply-To: <200408081232.i78CWwfh015063@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00251.txt.bz2 > Date: Sat, 7 Aug 2004 21:46:49 -0700 > From: Joel Brobecker > > config/xm-aix4.h has the following definition: > > | #define USG 1 > > The most obvious way of getting rid of it is to add a piece in configure.in > to set this define if on AIX by adding a -D to the cflags, but that > would be ugly. I think the best approach would be to see if we couldn't > just get rid of its usage entirely. Need to review its usage first... > > The USG define just really has to go. Given the fact that GDB > compiles without problems on many SystemV-ish systems without the > define, my guess is that it can be eliminated. Just try what happens > if you delete it on the oldest AIX system you can find. Right, as a reference, `break main; run' still worked on IRIX 6.5 after #define USG was removed from it's config. However, lets just define `oldest AIX system' to mean `>=4.3 AIX system'. Andrew