From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24964 invoked by alias); 12 Jul 2014 14:55:30 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 24952 invoked by uid 89); 12 Jul 2014 14:55:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f52.google.com Received: from mail-pa0-f52.google.com (HELO mail-pa0-f52.google.com) (209.85.220.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 12 Jul 2014 14:55:27 +0000 Received: by mail-pa0-f52.google.com with SMTP id eu11so2996902pac.25 for ; Sat, 12 Jul 2014 07:55:26 -0700 (PDT) X-Received: by 10.68.65.101 with SMTP id w5mr5549384pbs.5.1405176926262; Sat, 12 Jul 2014 07:55:26 -0700 (PDT) Received: from seba.sebabeach.org.gmail.com (173-13-178-50-sfba.hfc.comcastbusiness.net. [173.13.178.50]) by mx.google.com with ESMTPSA id co3sm5439119pbb.89.2014.07.12.07.55.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Jul 2014 07:55:25 -0700 (PDT) From: Doug Evans To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] guile: Remove (gdb init) module, and include 'init.scm'. References: <87tx7fl1ch.fsf@gnu.org> <87k37ikb2x.fsf@gnu.org> Date: Sat, 12 Jul 2014 17:42:00 -0000 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") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-07/txt/msg00303.txt.bz2 ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Hi, Doug, > > Doug Evans skribis: > >> ludo@gnu.org (Ludovic Court=C3=A8s) 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=E2=80=99. >>> >>> gdb/ >>> 2014-06-20 Ludovic Court=C3=A8s >>> >>> * 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 =E2=80=98@@=E2= =80=99. Perhaps > that=E2=80=99d 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". :-)