From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11773 invoked by alias); 8 Aug 2004 13:37:04 -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 11766 invoked from network); 8 Aug 2004 13:37:03 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 8 Aug 2004 13:37:03 -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 i78Db3e3031970 for ; Sun, 8 Aug 2004 09:37:03 -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 i78Dawa26405; Sun, 8 Aug 2004 09:36:58 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 129DF2B9D; Sun, 8 Aug 2004 09:36:52 -0400 (EDT) Message-ID: <41162C73.30401@gnu.org> Date: Sun, 08 Aug 2004 13:37: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 Cc: brobecker@gnat.com, gdb-patches@sources.redhat.com Subject: Re: [RFC/AIX] xm-aix4.h - Remove vfork redefine References: <20040808045534.GG24160@gnat.com> <200408081237.i78CbkY9015110@elgar.kettenis.dyndns.org> In-Reply-To: <200408081237.i78CbkY9015110@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00249.txt.bz2 > Date: Sat, 7 Aug 2004 21:55:34 -0700 > From: Joel Brobecker > > config/xm-aix4.h contains the following define: > > | /* There is no vfork. */ > | > | #define vfork fork > > I think we should add a (link) test in configure for that. But the other > alternative is to do as we did for HP/UX (but the reason we did it that > way for HP/UX is because vfork is broken on this system). > > Autoconf already handles that. There should be a "#define vfork fork" > in your config.h. In the case of HP, while autoconf indicates the presence of vfork, it doesn't (can't) detect the brokenness(1) that stops it working with GDB :-( That may be the situtation here, but then it easily also be a hangover from a defunct AIX version, or even a cut/paste error :-/ Joel, I'd just try it and see. Andrew (1) The combination of vfork, exec and ptrace