From: ludo@gnu.org (Ludovic Courtès)
To: Doug Evans <xdje42@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, gdb-patches@sourceware.org
Subject: Re: [PATCH, doc RFA] Add guile gdb command support
Date: Tue, 03 Jun 2014 08:33:00 -0000 [thread overview]
Message-ID: <87r436v1dp.fsf@gnu.org> (raw)
In-Reply-To: <m3ppiqcus8.fsf@sspiff.org> (Doug Evans's message of "Tue, 03 Jun 2014 00:32:55 -0700")
Hi,
Doug Evans <xdje42@gmail.com> skribis:
> 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.
Looks great to me (sorry for not commenting earlier.)
Thanks,
Ludo’.
prev parent reply other threads:[~2014-06-03 8:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-21 19:28 Doug Evans
2014-05-22 15:40 ` Eli Zaretskii
2014-05-22 16:39 ` Eli Zaretskii
2014-06-02 0:13 ` Doug Evans
2014-06-02 15:33 ` Eli Zaretskii
2014-06-03 7:33 ` Doug Evans
2014-06-03 8:33 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r436v1dp.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=xdje42@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox