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 17:42:00 -0000 [thread overview]
Message-ID: <m3vbr2630d.fsf@sspiff.org> (raw)
In-Reply-To: <87k37ikb2x.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 12 Jul 2014 14:36:54 +0200")
ludo@gnu.org (Ludovic Courtès) writes:
> Hi, Doug,
>
> Doug Evans <xdje42@gmail.com> skribis:
>
>> 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?
>
> I agree, but that was needed for gdb/printing.scm.
Ah.
Can we put it in (gdb utils) or some such?
> That said, we may be able to access them from there using ‘@@’. Perhaps
> that’d be preferable. I can try that if you want. WDYT?
>
>> btw, is (include ...) documented anywhere?
>
> Yes (info "(guile) Local Inclusion").
Thanks.
It's too bad manual entries don't include the parens.
grepping for "(include" didn't find it, and I gave up looking through
the results of grepping "include". :-)
prev parent reply other threads:[~2014-07-12 14:55 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
2014-07-12 14:55 ` Ludovic Courtès
2014-07-12 17:42 ` Doug Evans [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=m3vbr2630d.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