From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19064 invoked by alias); 8 Aug 2004 07:35:24 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 19052 invoked from network); 8 Aug 2004 07:35:22 -0000 Received: from unknown (HELO licht.localdomain) (217.235.253.94) by sourceware.org with SMTP; 8 Aug 2004 07:35:22 -0000 Received: from licht.localdomain (localhost.localdomain [127.0.0.1]) by licht.localdomain (8.12.5/8.12.5) with ESMTP id i787ZOlt002078; Sun, 8 Aug 2004 09:35:24 +0200 Received: (from pes@localhost) by licht.localdomain (8.12.5/8.12.5/Submit) id i787ZNto002075; Sun, 8 Aug 2004 09:35:23 +0200 From: Peter Schauer Message-Id: <200408080735.i787ZNto002075@licht.localdomain> Subject: Re: AIX and xm-aix.h To: cagney@gnu.org (Andrew Cagney) Date: Sun, 08 Aug 2004 07:35:00 -0000 Cc: kevinb@redhat.com, brobecker@gnat.com, gdb@sources.redhat.com In-Reply-To: <41152ACC.9080308@gnu.org> from "Andrew Cagney" at Aug 07, 2004 03:17:32 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00118.txt.bz2 I have very limited AIX resources nowadays, only an AIX 4.3 system with gcc, no native compiler. On this system I almost emptied xm.h, only #define FIVE_ARG_PTRACE had to be there, otherwise GDB doesn't compile. It should be possible to handle this via some autoconf logic though. Testsuite results were unchanged with the almost empty xm.h Visual inspection of the xm files turned up only two more things: - #pragma alloca might be needed for IBM xlc. It might be sufficient to include malloc.h for an alloca definition for IBM xlc, according to some old notes of mine. - We will loose the SIGWINCH_HANDLER. Not a big deal in my opinion. Maybe it even works without it on current AIX versions. And somebody can always reimplement it more cleanly if it is needed desperately. - USE_O_NOCTTY might be needed for some other AIX versions, but maybe only for the old AIX 3.2.5. HTH, > Peter, > > GDB's currently expunging all the xm-*.h files from it's configuration > (instead relying strictly on autoconf). For most systems this is > straight forward (the xm files were empty / redundant). Unfortunatly, > for AIX, it looks like there could be problems. > > Can we try removing the xm files and identify / fix any problems? > > It would be good to see this task finally closed. > > Andrew > -- Peter Schauer Peter.Schauer@mytum.de