From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=RCVD_IN_BL_SPAMCOP_NET autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id BBE83BB84 for ; Sat, 27 Dec 2008 16:25:12 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.36,287,1228086000"; d="scan'208";a="33104860" Received: from discorde.inria.fr ([192.93.2.38]) by mail4-smtp-sop.national.inria.fr with ESMTP; 27 Dec 2008 16:25:12 +0100 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id mBRFPBFL023172 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Sat, 27 Dec 2008 16:25:12 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjACABPYVUmCcUBTgWdsb2JhbACTbQEBCwcECgcRqE5YjxuGRA X-IronPort-AV: E=Sophos;i="4.36,287,1228086000"; d="scan'208";a="18925404" Received: from sigma957.cis.mcmaster.ca ([130.113.64.83]) by mail2-smtp-roc.national.inria.fr with ESMTP; 27 Dec 2008 16:25:09 +0100 Received: from Dura7.UTS.McMaster.CA (dura7.UTS.mcmaster.ca [130.113.196.62]) by sigma957.cis.mcmaster.ca (8.13.7/8.13.7) with ESMTP id mBRFP2DZ007041 for ; Sat, 27 Dec 2008 10:25:08 -0500 (EST) Received: from cgpsrv2.cis.mcmaster.ca (univmail.CIS.McMaster.CA [130.113.64.46]) by Dura7.UTS.McMaster.CA (8.13.7/8.13.7) with ESMTP id mBRFOo5s024115 for ; Sat, 27 Dec 2008 10:24:50 -0500 Received: from [204.225.249.6] (account carette@univmail.cis.mcmaster.ca HELO [192.168.1.111]) by cgpsrv2.cis.mcmaster.ca (CommuniGate Pro SMTP 4.3.12) with ESMTPSA id 236929442 for caml-list@inria.fr; Sat, 27 Dec 2008 10:24:51 -0500 Message-ID: <495648C4.8080403@mcmaster.ca> Date: Sat, 27 Dec 2008 10:24:52 -0500 From: Jacques Carette User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: caml-list@inria.fr Subject: Debugging the compiler Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version-Mac: 5.4.2.338381, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.12.27.150728 X-PerlMx-Spam: Gauge=XXXXXXXXI, Probability=81%, Report='SXL_IP_PROXY 8, BODY_SIZE_1000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_500_599 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' X-Miltered: at discorde with ID 495648D7.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; compiler:01 compiler:01 bug:01 makefiles:01 compile:01 caml-list:01 modifying:02 archives:02 mcmaster:02 jacques:03 jacques:03 debugging:03 debugging:03 quite:08 postings:08 Nothing like the holidays for a little playing around with some ideas by modifying a compiler... Having got the hang of bootstrapping the compiler [with help from old caml-list postings], I managed to get quite a few things working, but now I have a bug. I dug around the configure scripts and the Makefiles, and did not see any ready-made way to compile the compiler with debugging enabled - is this possible? I searched the archives for help on this topic, but came up empty-handed. Any and all advice on 'debugging the compiler' would be most appreciated. Jacques