aboutsummaryrefslogtreecommitdiff
path: root/gdb/guile/guile.c
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/guile.c
parent4122867a4227d29b46377c2a44eae803a482d89f (diff)
downloadgdb-186fcde0c6134aed28526d925b1360db95d47171.zip
gdb-186fcde0c6134aed28526d925b1360db95d47171.tar.gz
gdb-186fcde0c6134aed28526d925b1360db95d47171.tar.bz2
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/guile.c')
-rw-r--r--gdb/guile/guile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/guile/guile.c b/gdb/guile/guile.c
index 6bc078f..e81cb4c 100644
--- a/gdb/guile/guile.c
+++ b/gdb/guile/guile.c
@@ -120,7 +120,7 @@ static SCM to_string_keyword;
/* The name of the various modules (without the surrounding parens). */
const char gdbscm_module_name[] = "gdb";
-const char gdbscm_init_module_name[] = "gdb init";
+const char gdbscm_init_module_name[] = "gdb";
/* The name of the bootstrap file. */
static const char boot_scm_filename[] = "boot.scm";