aboutsummaryrefslogtreecommitdiff
path: root/gdb/config.in
diff options
context:
space:
mode:
authorAndy Wingo <wingo@igalia.com>2015-03-11 13:07:53 +0100
committerAndy Wingo <wingo@igalia.com>2015-03-11 13:07:53 +0100
commit92fab5a61707cd3b487219ea9efa0e410cde3bc4 (patch)
tree809ea0e4bc4e5c49afd066aea5cbf5372b72f055 /gdb/config.in
parente03f96456f2313854efff2377134af6cbda96af8 (diff)
downloadgdb-92fab5a61707cd3b487219ea9efa0e410cde3bc4.zip
gdb-92fab5a61707cd3b487219ea9efa0e410cde3bc4.tar.gz
gdb-92fab5a61707cd3b487219ea9efa0e410cde3bc4.tar.bz2
[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.
Diffstat (limited to 'gdb/config.in')
-rw-r--r--gdb/config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/config.in b/gdb/config.in
index 4aaadb5..3ccac37 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -201,6 +201,9 @@
/* Define if Guile interpreter is being linked in. */
#undef HAVE_GUILE
+/* Define if Guile supports manual finalization. */
+#undef HAVE_GUILE_MANUAL_FINALIZATION
+
/* Define if you have the iconv() function. */
#undef HAVE_ICONV