aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-07-26 17:01:09 -0700
committerDoug Evans <xdje42@gmail.com>2014-07-26 17:03:04 -0700
commit186fcde0c6134aed28526d925b1360db95d47171 (patch)
tree1b70abc1341a15e51c24c958bd5ca07a892d207b /gdb/guile/lib/gdb.scm
parentdaily update (diff)
downloadbinutils-gdb-186fcde0c6134aed28526d925b1360db95d47171.tar.gz
binutils-gdb-186fcde0c6134aed28526d925b1360db95d47171.tar.bz2
binutils-gdb-186fcde0c6134aed28526d925b1360db95d47171.zip
PR guile/17146 preparatory work.
* data-directory/Makefile.in (GUILE_FILES): Add support.scm. * guile/lib/gdb/support.scm: New file. * guile/guile.c (gdbscm_init_module_name): Change to "gdb". * guile/lib/gdb.scm: Load gdb/init.scm as an include file. All uses updated. * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm. All uses updated. (%assert-type): Ditto, and renamed to assert-type. (%exception-print-style): Delete. testsuite/ * gdb.guile/types-module.exp: Add tests for wrong type arguments.
Diffstat (limited to 'gdb/guile/lib/gdb.scm')
-rw-r--r--gdb/guile/lib/gdb.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/guile/lib/gdb.scm b/gdb/guile/lib/gdb.scm
index 4fd4699b939..552bfe9ed7c 100644
--- a/gdb/guile/lib/gdb.scm
+++ b/gdb/guile/lib/gdb.scm
@@ -494,11 +494,11 @@
;; Load the rest of the Scheme side.
-(use-modules ((gdb init)))
+(include "gdb/init.scm")
;; These come from other files, but they're really part of this module.
-(re-export
+(export
;; init.scm
orig-input-port