From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26369 invoked by alias); 17 Feb 2015 14:41:07 -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 26357 invoked by uid 89); 17 Feb 2015 14:41:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: bin-vsp-out-01.atm.binero.net Received: from vsp-unauthed01.binero.net (HELO bin-vsp-out-01.atm.binero.net) (195.74.38.225) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 17 Feb 2015 14:41:05 +0000 X-Halon-ID: 0835d3aa-b6b3-11e4-acbf-005056917a89 Authorized-sender: jiri@gaisler.se Received: from [192.168.1.68] (unknown [78.68.173.120]) by bin-vsp-out-01.atm.binero.net (Halon Mail Gateway) with ESMTPSA for ; Tue, 17 Feb 2015 15:41:18 +0100 (CET) Message-ID: <54E352FB.6080701@gaisler.se> Date: Tue, 17 Feb 2015 14:41:00 -0000 From: Jiri Gaisler User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: Re: [PATCH 00/22] Update of the SPARC SIS simulator References: <1424159099-5148-1-git-send-email-jiri@gaisler.se> <20150217085419.GH20008@vapier> In-Reply-To: <20150217085419.GH20008@vapier> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-02/txt/msg00438.txt.bz2 On 02/17/2015 09:54 AM, Mike Frysinger wrote: > On 17 Feb 2015 08:44, Jiri Gaisler wrote: >> This is a 22-part patch that brings the sis simulator into working >> order, and adds support for emulation of the leon2 and leon3 cpus. >> >> The sis simulator was written by me in the mid 90's, to emulate the erc32 >> processor (SPARC V7). It was included into gdb by Cygnus (Stan Shebs?), >> and adapted to also emulate the Fujistu Sparlite processor. The simulator >> has not been actively maintained for about 15 years, and suffered some >> bit-rot. It's primary use has been for RTEMS development. The erc32 >> processor is now becoming obsolete, and being replaced by leon2 and >> leon3 cpus in many ESA and NASA missions. These patches will >> allow sis to be useful again, and support the newer leon2/3 processor. > it would be nice if there was a testsuite. how are you verifying things > continue to work and there are no regressions ? > > should be easy to add some basic .s files to verify insns ... lots of examples > in the testsuite/sim/ subdirs already. > -mike I have a set of pre-compiled binaries to test for basic SPARC and FPU compliance. On top of that, I run the RTEMS testsuite which is rather extensive. Is it acceptable to drop a few SPARC binaries to the gdb testuite/sim, or does it all have to be in source? The test applications are typically written in C, so we would need a full C cross-compiler to build them ... Jiri.