This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. e698b8c41cbb2648a11a2ae806922c44d1482aed
- From: devans at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 3 Jun 2014 07:31:17 -0000
- Subject: gdb and binutils branch master updated. e698b8c41cbb2648a11a2ae806922c44d1482aed
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via e698b8c41cbb2648a11a2ae806922c44d1482aed (commit)
from fb1f94b09a3d12a231f6be8fadf421ab578dc4ba (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e698b8c41cbb2648a11a2ae806922c44d1482aed
commit e698b8c41cbb2648a11a2ae806922c44d1482aed
Author: Doug Evans <xdje42@gmail.com>
Date: Tue Jun 3 00:29:49 2014 -0700
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) <parse-and-eval>: Add reference.
(Basic Guile) <string->argv>: Move definition to Commands In Guile.
(GDB Scheme Data Types): Mention <gdb:command> object.
(Commands In Guile): New node.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 22 +
gdb/Makefile.in | 6 +
gdb/doc/ChangeLog | 8 +
gdb/doc/guile.texi | 293 +++++++++++-
gdb/guile/guile-internal.h | 14 +
gdb/guile/guile.c | 1 +
gdb/guile/lib/gdb.scm | 29 ++
gdb/guile/lib/gdb/init.scm | 10 +-
gdb/guile/scm-cmd.c | 893 +++++++++++++++++++++++++++++++++++
gdb/guile/scm-exception.c | 14 +
gdb/guile/scm-utils.c | 12 +
gdb/testsuite/ChangeLog | 5 +
gdb/testsuite/gdb.guile/scm-cmd.c | 29 ++
gdb/testsuite/gdb.guile/scm-cmd.exp | 198 ++++++++
14 files changed, 1527 insertions(+), 7 deletions(-)
create mode 100644 gdb/guile/scm-cmd.c
create mode 100644 gdb/testsuite/gdb.guile/scm-cmd.c
create mode 100644 gdb/testsuite/gdb.guile/scm-cmd.exp
hooks/post-receive
--
gdb and binutils