From e698b8c41cbb2648a11a2ae806922c44d1482aed Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Tue, 3 Jun 2014 00:29:49 -0700 Subject: Add command support for Guile. * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o. (SUBDIR_GUILE_SRCS): Add scm-cmd.c. (scm-cmd.o): New rule. * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare. (gdbscm_user_error_p): Declare. (gdbscm_parse_command_name): Declare. (gdbscm_valid_command_class_p): Declare. (gdbscm_initialize_commands): Declare. * guile/guile.c (initialize_gdb_module): Call gdbscm_initialize_commands. * guile/lib/gdb.scm: Export command symbols. * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error. (throw-user-error): New function. * guile/scm-cmd.c: New file. * guile/scm-exception.c (user_error_symbol): New static global. (gdbscm_user_error_p): New function. (gdbscm_initialize_exceptions): Set user_error_symbol. * scm-utils.c (gdbscm_gc_xstrdup): New function. testsuite/ * gdb.guile/scm-cmd.c: New file. * gdb.guile/scm-cmd.exp: New file. doc/ * guile.texi (Guile API): Add entry for Commands In Guile. (Basic Guile) : Add reference. (Basic Guile) argv>: Move definition to Commands In Guile. (GDB Scheme Data Types): Mention object. (Commands In Guile): New node. --- gdb/doc/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gdb/doc/ChangeLog') diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index cbe00db..f2dafe3 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,5 +1,13 @@ 2014-06-02 Doug Evans + * guile.texi (Guile API): Add entry for Commands In Guile. + (Basic Guile) : Add reference. + (Basic Guile) argv>: Move definition to Commands In Guile. + (GDB Scheme Data Types): Mention object. + (Commands In Guile): New node. + +2014-06-02 Doug Evans + * guile.texi (Guile API): Add entry for Progspaces In Guile. (GDB Scheme Data Types): Mention object. (Progspaces In Guile): New node. -- cgit v1.1