PR guile/17146
authorDoug Evans <xdje42@gmail.com>
Sun, 27 Jul 2014 04:02:39 +0000 (21:02 -0700)
committerDoug Evans <xdje42@gmail.com>
Sun, 27 Jul 2014 04:02:39 +0000 (21:02 -0700)
commit2dfee787ef47fbf3b100b2dc961edf6ae172422d
treefab01a59ddaf6e46d8d1fe02c110227878eb5904
parent4024328eedf500adc8508e75d2013d3973e6fb3c
PR guile/17146

* acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
(GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
* configure.ac: Try to use guild to compile an scm file, if it fails
then disable guile support.
* configure: Regenerate.
* data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
GUILE_FILE_LIST.
(GUILE_COMPILED_FILES): New variable.
(GUILE_FILES) Update.
(GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
(stamp-guile): Compile scm files.
* guile/guile.c (boot_guile_support): New function.
(standard_throw_args_p): New function.
(print_standard_throw_error, print_throw_error): New functions.
(handle_boot_error): New function.
(initialize_scheme_side): Rewrite to call boot_guile_support.
* guile/lib/gdb/boot.scm: Update %load-compiled-path.  Load gdb.go.
* guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
gdb/ChangeLog
gdb/acinclude.m4
gdb/configure
gdb/configure.ac
gdb/data-directory/Makefile.in
gdb/guile/guile.c
gdb/guile/lib/gdb/boot.scm
gdb/guile/lib/gdb/init.scm