From 74edf51613b507d1f27d66360cd8fdd8a253e88a Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Sat, 26 Jul 2014 14:49:04 -0700 Subject: PR 17185 PR 17185 describes a problem with using gdb+guile with libgc 7.4.0. The symptom is a hang in sigsuspend. [The thread referenced in the PR has the details.] It's not clear what the right fix is, or even where the bug is yet. This patch applies the same workaround Guile has applied. There is no functionality or real performance loss with this, and Guile has been using it for awhile. * configure.ac: Add check for header gc/gc.h. Add check for function setenv. * configure: Regenerate. * config.in: Regenerate. * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0. --- gdb/config.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gdb/config.in') diff --git a/gdb/config.in b/gdb/config.in index 8585b49..fb9b0cd 100644 --- a/gdb/config.in +++ b/gdb/config.in @@ -141,6 +141,9 @@ /* Define if has fpregset_t. */ #undef HAVE_FPREGSET_T +/* Define to 1 if you have the header file. */ +#undef HAVE_GC_GC_H + /* Define to 1 if you have the `getgid' function. */ #undef HAVE_GETGID @@ -345,6 +348,9 @@ /* Define to 1 if you have the `scm_new_smob' function. */ #undef HAVE_SCM_NEW_SMOB +/* Define to 1 if you have the `setenv' function. */ +#undef HAVE_SETENV + /* Define to 1 if you have the `setlocale' function. */ #undef HAVE_SETLOCALE -- cgit v1.1