[guile] Run finalizers from GDB thread
authorAndy Wingo <wingo@igalia.com>
Wed, 11 Mar 2015 12:07:53 +0000 (13:07 +0100)
committerAndy Wingo <wingo@igalia.com>
Wed, 11 Mar 2015 12:07:53 +0000 (13:07 +0100)
commit92fab5a61707cd3b487219ea9efa0e410cde3bc4
tree809ea0e4bc4e5c49afd066aea5cbf5372b72f055
parente03f96456f2313854efff2377134af6cbda96af8
[guile] Run finalizers from GDB thread

gdb/ChangeLog:

* guile/guile.c (_initialize_guile): Disable automatic
finalization, if Guile offers us that possibility.
* guile/guile.c (call_initialize_gdb_module):
* guile/scm-safe-call.c (gdbscm_with_catch): Arrange to run
finalizers in appropriate places.
* config.in (HAVE_GUILE_MANUAL_FINALIZATION): New definition.
* configure.ac (AC_TRY_LIBGUILE): Add a check for
scm_set_automatic_finalization_enabled.
* configure: Regenerated.
gdb/ChangeLog
gdb/config.in
gdb/configure
gdb/configure.ac
gdb/guile/guile.c
gdb/guile/scm-safe-call.c