PR guile/17146 preparatory work.
authorDoug Evans <xdje42@gmail.com>
Sun, 27 Jul 2014 00:01:09 +0000 (17:01 -0700)
committerDoug Evans <xdje42@gmail.com>
Sun, 27 Jul 2014 00:03:04 +0000 (17:03 -0700)
commit186fcde0c6134aed28526d925b1360db95d47171
tree1b70abc1341a15e51c24c958bd5ca07a892d207b
parent4122867a4227d29b46377c2a44eae803a482d89f
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.
13 files changed:
gdb/ChangeLog
gdb/data-directory/Makefile.in
gdb/guile/guile.c
gdb/guile/lib/gdb.scm
gdb/guile/lib/gdb/boot.scm
gdb/guile/lib/gdb/experimental.scm
gdb/guile/lib/gdb/init.scm
gdb/guile/lib/gdb/iterator.scm
gdb/guile/lib/gdb/printing.scm
gdb/guile/lib/gdb/support.scm [new file with mode: 0644]
gdb/guile/lib/gdb/types.scm
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.guile/types-module.exp