Re: Build errors on AIX

Joel Brobecker
2010-03-01T06:47:22Z

> It would perhaps be better to autoconf the getthrds declaration being
> present, here, in gdb/configure.ac:
[...]
> But I really don't know much about AIX. Joel? What do you
> think? You seem to be one of that last that touched
> this `getthrds' bit of code. :-)

Yep, I agree that this is the way to go. I checked on AIX 5.3,
this function is not declared in any of the /usr/include/*.h file.

> > but: 6.1 has the same break point problems as 5.3:
> > - with no breakpoint before 1st run, break points can't be set later at all
> > - otherwise break points seem to work

This is indeed very weird. I don't see any of that on our end.
I follow the AIX status relatively closely - even if we don't run
the AIX testsuite nightly, we run the AdaCore one every second day.
The AIX port should be in good shape! You might want to try AdaCore's
sources to see if it makes any difference (we might have forgotten to
contribute a couple of patches), but I don't think so.

http://libre.adacore.com/libre/tools/more_resources/gdb-for-ada-snapshot/

This is what we call gdb-head at AdaCore, which include all of AdaCore's
changes while tracking the HEAD from the FSF tree.

--
Joel