From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20968 invoked by alias); 12 Jul 2002 23:00:05 -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 20959 invoked from network); 12 Jul 2002 23:00:03 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 12 Jul 2002 23:00:03 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id DC63C3D53; Fri, 12 Jul 2002 18:59:59 -0400 (EDT) Message-ID: <3D2F5F6F.9080308@ges.redhat.com> Date: Fri, 12 Jul 2002 16:12:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020708 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Buettner Cc: gdb-patches@sources.redhat.com, nick@duffek.com Subject: Re: [PATCH RFC] AIX thread support References: <1020712192417.ZM7533@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-07/txt/msg00286.txt.bz2 > The patch below implements thread support for AIX. Nick Duffek > deserves the lion's share of the credit for this work. Martin Hunt, > Louis Hamilton, and I also worked on this code. Martin and Louis > fixed some bugs and I adapted the code to build and work with the > current sources. > > I'll wait several days for comments / objections before committing it. > > Kevin > > From Nicholas Duffek (with minor changes by Martin Hunt, > Louis Hamilton, and Kevin Buettner): > * aix-thread.c: New file. > * Makefile.in (ALLDEPFILES): Add aix-thread.c. > (aix-thread.o): New rule. > * configure.host (gdb_host): Set to aix432 on AIX 4.3.2+. > * config/powerpc/aix432.mh: New file. > Kevin, A quick glance suggests a review is needed. For instance, from a coding (not thread -> MichaelS) viewpoint ``#define DEBUG 0'' should be handled at run-time and should be written to ``gdb_stdlog''. If anything, perhaphs like for ada, this file could be initially commited, but not actually included/enabled. That should at least make the review process easier. Andrew