PR 17185
authorDoug Evans <xdje42@gmail.com>
Sun, 27 Jul 2014 03:29:32 +0000 (20:29 -0700)
committerDoug Evans <xdje42@gmail.com>
Sun, 27 Jul 2014 03:29:32 +0000 (20:29 -0700)
commitb13f24b87c227ef532cac27fc81f85b60fba2832
tree14e75c4d06fcdd1993db7bff212a02c0e22bbaf5
parent05e19170fe1cc288974e556aa552499fde30e5ec
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/ChangeLog
gdb/config.in
gdb/configure
gdb/configure.ac
gdb/guile/guile.c