PATCH: Fix gdb compilation on Tru64 UNIX
Tom Tromey
tromey@redhat.com
Thu Jan 21 17:05:00 GMT 2010
>>>>> "Rainer" == Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
Rainer> napms() is declared only if _XOPEN_SOURCE_EXTENDED is defined, which
Rainer> requires _XOPEN_SOURCE >= 420.
Rainer> 2010-01-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Rainer> * gdb_curses.h [__osf__] (_XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED)
Rainer> Define.
Rainer> * solib-osf.c (osf_current_sos): Initialize tail.
The solib-osf.c change is ok.
I am not as sure about the gdb_curses.h change. I don't think we have
many host tests like that. Perhaps some kind of configury would be
better.
Tom
More information about the Gdb-patches
mailing list