This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH RFC] AIX thread support
- From: Andrew Cagney <ac131313 at ges dot redhat dot com>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com, nick at duffek dot com
- Date: Fri, 12 Jul 2002 18:59:59 -0400
- Subject: Re: [PATCH RFC] AIX thread support
- References: <1020712192417.ZM7533@localhost.localdomain>
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