This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH RFC] AIX thread support


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]