From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7655 invoked by alias); 23 Dec 2008 17:32:42 -0000 Received: (qmail 7409 invoked by uid 22791); 23 Dec 2008 17:32:37 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_33,KAM_MX,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Dec 2008 17:31:54 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id mBNHVpQn001234; Tue, 23 Dec 2008 12:31:51 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mBNHVnOa026448; Tue, 23 Dec 2008 12:31:50 -0500 Received: from ton.toronto.redhat.com (ton.yyz.redhat.com [10.15.16.15]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id mBNHVnev008385; Tue, 23 Dec 2008 12:31:49 -0500 Received: from ton.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by ton.toronto.redhat.com (8.13.1/8.13.1) with ESMTP id mBNHVmrT013376; Tue, 23 Dec 2008 12:31:48 -0500 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id mBNHVmuu013375; Tue, 23 Dec 2008 12:31:48 -0500 Date: Tue, 23 Dec 2008 17:32:00 -0000 From: "Frank Ch. Eigler" To: Hans-Peter Nilsson Cc: brolley@redhat.com, gdb-patches@sourceware.org, cgen@sourceware.org Subject: Re: sim/frv not regeneratable with cgen and guile-1.8.5 Message-ID: <20081223173148.GD4195@redhat.com> References: <200812230143.mBN1hm8O020799@ignucius.se.axis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200812230143.mBN1hm8O020799@ignucius.se.axis.com> User-Agent: Mutt/1.4.1i X-IsSubscribed: yes Mailing-List: contact cgen-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sourceware.org X-SW-Source: 2008-q4/txt/msg00019.txt.bz2 Hi - On Tue, Dec 23, 2008 at 02:43:48AM +0100, Hans-Peter Nilsson wrote: > I had to find an installation with guile-1.3.4 in order to > regenerate the frv sim. Maybe a guile/scheme-savvy > person/maintainer can look into it? I had to give up myself, > sorry. CGEN and guile..lacks in the debuggability department. It's clumsy. Changing the sim/.../Makefile thusly activated backtracing: CGEN = "`if [ -f ../../guile/libguile/guile ]; then echo ../../guile/libguile/guile; else echo guile ; fi` -l $(CGENDIR)/guile.scm --debug -s" CGENFLAGS = -v -b The operative flags being "--debug" for guile *and* "-b" for cgen. Perhaps we should simply activate these all the time, machines being fast enough. The following patch, committed, fixes cgen for frv; tested also on m32r. 2008-12-23 Frank Ch. Eigler * sim.scm (-op-gen-queued-write): Add needed symbol->string. Index: sim.scm =================================================================== RCS file: /cvs/src/src/cgen/sim.scm,v retrieving revision 1.14 diff -r1.14 sim.scm 1147c1147 < (string-downcase (if sem-mode --- > (string-downcase (symbol->string (if sem-mode 1149c1149 < (mode-real-name mode)))))) --- - FChE