PR guile/17146
authorDoug Evans <xdje42@gmail.com>
Sun, 27 Jul 2014 01:16:27 +0000 (18:16 -0700)
committerDoug Evans <xdje42@gmail.com>
Sun, 27 Jul 2014 01:16:27 +0000 (18:16 -0700)
commite76c5d173bbf7137555919dd136004a7c0118af7
tree92e8106c379879427bb0ce570c3d0dece75dc020
parent186fcde0c6134aed28526d925b1360db95d47171
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