From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3354 invoked by alias); 10 Jan 2005 23:43:18 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 3330 invoked from network); 10 Jan 2005 23:43:13 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 10 Jan 2005 23:43:13 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j0ANh8X1020537 for ; Mon, 10 Jan 2005 18:43:08 -0500 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j0ANh8r12503; Mon, 10 Jan 2005 18:43:08 -0500 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 184AA7D79; Mon, 10 Jan 2005 18:41:56 -0500 (EST) Message-ID: <41E312C1.8030407@gnu.org> Date: Mon, 10 Jan 2005 23:43:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) MIME-Version: 1.0 To: Hans-Peter Nilsson Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA:] The CRIS simulator. References: <200412180146.iBI1kUku013490@ignucius.se.axis.com> In-Reply-To: <200412180146.iBI1kUku013490@ignucius.se.axis.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-01/txt/msg00066.txt.bz2 Hans-Peter Nilsson wrote: > Assumes ok on all my previous patches. The simulator calls use the Linux > ABI, which means that statically linked binaries work on both target and > simulator. (It shouldn't be too hard to support dynamically linked > binaries, but I haven't needed it yet.) Not all syscalls are implemented > of course, and only a subset of valid parameters, but a good deal more > than what's necessary for "hello, world" and the GCC testsuite. I don't > use the nltvals machinery for any of the constants, because it has > mismatches with the Linux definitions. I also didn't find it useful to > spread out the ABI; better to keep it in one file. The manually written > files are warnings-free with "-W -Wall" using the RH 7.3 derivate of gcc, > which cannot be said of the automatically generated files nor of > sim/common. Ugh. Testsuite directory later; this patch is already 167k. > > Ok to commit? > > * cris: New directory, simulator for Axis Communications CRIS > including CRISv32, CGEN-based. > * configure.in: Add corresponding configury. To be explicit, the above (once you've updated it to meddle with configure.ac), is ok. You're also free to commit further changes to cris code (which includes this cris sim :-). Please be careful to keep Orjan in the loop on any more complicated changes. Have fun! Andrew