Module Name: src Committed By: christos Date: Sun Sep 25 20:26:04 UTC 2011
Modified Files: src/external/gpl3/gdb/dist/gdb: configure configure.ac Log Message: #define _KMEMUSER so that the struct lwp test works. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 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.1.1.1 src/external/gpl3/gdb/dist/gdb/configure:1.2 --- src/external/gpl3/gdb/dist/gdb/configure:1.1.1.1 Sat Sep 24 16:09:43 2011 +++ src/external/gpl3/gdb/dist/gdb/configure Sun Sep 25 16:26:04 2011 @@ -13009,6 +13009,7 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <sys/param.h> +#define _KMEMUSER #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.1.1.1 src/external/gpl3/gdb/dist/gdb/configure.ac:1.2 --- src/external/gpl3/gdb/dist/gdb/configure.ac:1.1.1.1 Sat Sep 24 16:09:44 2011 +++ src/external/gpl3/gdb/dist/gdb/configure.ac Sun Sep 25 16:26:04 2011 @@ -1137,6 +1137,7 @@ 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 #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