This is the mail archive of the gdb-testers@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
The native cc on AIX 3.2.5 is another compiler which has buggy `long long' support, causing problems when calling functions in the inferior. Here is a patch to suppress `long long' usage when using native cc: * config/rs6000/xm-rs6000.h (CC_HAS_LONG_LONG): Undefine when compiling with native cc, the compiler has broken long long support. *** gdb-4.16.85/gdb/config/rs6000/xm-rs6000.h.orig Wed Aug 14 22:29:08 1996 --- gdb-4.16.85/gdb/config/rs6000/xm-rs6000.h Sun Feb 15 22:32:58 1998 *************** *** 104,106 **** --- 104,110 ---- requires libbsd.a. */ #define setpgrp(XX,YY) setpgid (XX, YY) + /* Native AIX 3.2.x cc has broken long long support. */ + #ifndef __GNUC__ + #undef CC_HAS_LONG_LONG + #endif -- Peter Schauer pes@regent.e-technik.tu-muenchen.de