Module Name: src
Committed By: christos
Date: Wed Feb 3 19:03:40 UTC 2016
Modified Files:
src/external/gpl3/gdb/dist/gdb: configure configure.ac
Log Message:
define _KMEMUSER earlier for mips
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gdb/dist/gdb/configure \
src/external/gpl3/gdb/dist/gdb/configure.ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gdb/dist/gdb/configure
diff -u src/external/gpl3/gdb/dist/gdb/configure:1.6 src/external/gpl3/gdb/dist/gdb/configure:1.7
--- src/external/gpl3/gdb/dist/gdb/configure:1.6 Tue Feb 2 22:23:28 2016
+++ src/external/gpl3/gdb/dist/gdb/configure Wed Feb 3 14:03:40 2016
@@ -12264,8 +12264,8 @@ if test "${gdb_cv_struct_lwp+set}" = set
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-#include <sys/param.h>
#define _KMEMUSER
+#include <sys/param.h>
#include <sys/lwp.h>
int
main ()
Index: src/external/gpl3/gdb/dist/gdb/configure.ac
diff -u src/external/gpl3/gdb/dist/gdb/configure.ac:1.6 src/external/gpl3/gdb/dist/gdb/configure.ac:1.7
--- src/external/gpl3/gdb/dist/gdb/configure.ac:1.6 Tue Feb 2 22:23:28 2016
+++ src/external/gpl3/gdb/dist/gdb/configure.ac Wed Feb 3 14:03:40 2016
@@ -1481,8 +1481,8 @@ AC_CHECK_MEMBERS([struct thread.td_pcb],
# See if <sys/lwp.h> defines `struct lwp`.
AC_CACHE_CHECK([for struct lwp], gdb_cv_struct_lwp,
-[AC_TRY_COMPILE([#include <sys/param.h>
-#define _KMEMUSER
+[AC_TRY_COMPILE([#define _KMEMUSER
+#include <sys/param.h>
#include <sys/lwp.h>], [struct lwp l;],
gdb_cv_struct_lwp=yes, gdb_cv_struct_lwp=no)])
if test $gdb_cv_struct_lwp = yes; then