[PATCH RFC] AIX thread support

Andrew Cagney ac131313@ges.redhat.com
Fri Jul 12 16:12:00 GMT 2002


> 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




More information about the Gdb-patches mailing list