public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Doug Evans <xdje42@gmail.com>
To: ludo@gnu.org (Ludovic Courtès)
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] guile: Remove (gdb init) module, and include 'init.scm'.
Date: Sat, 12 Jul 2014 05:01:00 -0000	[thread overview]
Message-ID: <m34myn6vkg.fsf@sspiff.org> (raw)
In-Reply-To: <87tx7fl1ch.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 20	Jun 2014 23:26:06 +0200")

ludo@gnu.org (Ludovic Courtès) writes:

> This patch is a prerequisite for the following (compiling Scheme
> files).  It removes the (gdb init), which had a top-level circular
> dependency with (gdb), thereby preventing compilation.
>
> Thanks,
> Ludo’.
>
> gdb/
> 2014-06-20  Ludovic Courtès  <ludo@gnu.org>
>
> 	* guile/guile.c: (gdbscm_init_module_name): Change to "gdb".
> 	* guile/lib/gdb.scm: Remove 'use-modules' form and include
> 	gdb/init.scm.  Change 're-export' to 'export'.  Export
> 	'*pretty-printers*' and '%assert-type'.
> 	* guile/lib/gdb/init.scm: Remove 'define-module' form.
> 	(%exception-print-style): Remove.
> 	* guile/lib/gdb/boot.scm: Change (gdb init) to (gdb).
> 	* guile/lib/gdb/experimental.scm: Remove use of (gdb init).
> 	* guile/lib/gdb/types.scm: Likewise.
> 	* guile/lib/gdb/printing.scm: Add '%assert-type', 'SCM_ARG1', and
> 	'*pretty-printers*' to the selection.

Hi.

IWBN to not export %assert-type.
I was also thinking IWBN to not export *pretty-printers* and instead
export a function that returns the value.  WDYT?

btw, is (include ...) documented anywhere?

  reply	other threads:[~2014-07-12  4:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-20 21:26 Ludovic Courtès
2014-07-12  5:01 ` Doug Evans [this message]
2014-07-12 14:55   ` Ludovic Courtès
2014-07-12 17:42     ` Doug Evans

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=m34myn6vkg.fsf@sspiff.org \
    --to=xdje42@gmail.com \
    --cc=gdb-patches@sourceware.org \
    --cc=ludo@gnu.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).