From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4118 invoked by alias); 12 Jul 2014 04:38:39 -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 4105 invoked by uid 89); 12 Jul 2014 04:38:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-pd0-f169.google.com Received: from mail-pd0-f169.google.com (HELO mail-pd0-f169.google.com) (209.85.192.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 12 Jul 2014 04:38:37 +0000 Received: by mail-pd0-f169.google.com with SMTP id ft15so2417633pdb.14 for ; Fri, 11 Jul 2014 21:38:35 -0700 (PDT) X-Received: by 10.69.31.193 with SMTP id ko1mr3266137pbd.40.1405139915264; Fri, 11 Jul 2014 21:38:35 -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 g7sm5211059pdk.87.2014.07.11.21.38.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Jul 2014 21:38:34 -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> Date: Sat, 12 Jul 2014 05:01:00 -0000 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") 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/msg00300.txt.bz2 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? btw, is (include ...) documented anywhere?