From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9663 invoked by alias); 8 Aug 2004 04:49:45 -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 9646 invoked from network); 8 Aug 2004 04:49:45 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sourceware.org with SMTP; 8 Aug 2004 04:49:45 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id A636A47D92; Sat, 7 Aug 2004 21:49:44 -0700 (PDT) Date: Sun, 08 Aug 2004 04:49:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Cc: Andrew Cagney , Peter Schauer , Kevin Buettner Subject: [RFC/AIX] xm-aix4.h - Remove FIVE_ARG_PTRACE & USE_O_NOCTTY defines Message-ID: <20040808044944.GD24160@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2004-08/txt/msg00234.txt.bz2 config/xm-aix4.h has the following definitions: | #define FIVE_ARG_PTRACE | | /* This system requires that we open a terminal with O_NOCTTY for it to | not become our controlling terminal. */ Should be detected by configure instead of being hard-wired in this file. I would probably need some help there: The lazy approach would be to detect the few hosts by name and then define this on these systems. But is there a way that would be generic? Normally, we rely on trying to compile some code, but all we'll have here is a warning, not a compilation failure... How | #define USE_O_NOCTTY For this one, it seems that we have no choice but to hard-code somewhere that terminals should be opened using O_NOCTTY on AIX. Configure seems as good a place a any. Opinions? -- Joel