From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 74762 invoked by alias); 11 Jan 2016 22:38:06 -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 74747 invoked by uid 89); 11 Jan 2016 22:38:05 -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,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=backing, 26th X-HELO: mailapp01.imgtec.com Received: from mailapp01.imgtec.com (HELO mailapp01.imgtec.com) (195.59.15.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 11 Jan 2016 22:38:04 +0000 Received: from hhmail02.hh.imgtec.org (unknown [10.100.10.20]) by Websense Email Security Gateway with ESMTPS id 5D4C2B4DA53C5; Mon, 11 Jan 2016 22:37:58 +0000 (GMT) Received: from BAMAIL02.ba.imgtec.org (10.20.40.28) by hhmail02.hh.imgtec.org (10.100.10.20) with Microsoft SMTP Server (TLS) id 14.3.235.1; Mon, 11 Jan 2016 22:38:02 +0000 Received: from [10.20.3.214] (10.20.3.214) by bamail02.ba.imgtec.org (10.20.40.28) with Microsoft SMTP Server (TLS) id 14.3.174.1; Mon, 11 Jan 2016 14:37:59 -0800 Message-ID: <1452551879.29343.112.camel@ubuntu-sellcey> Subject: Re: MIPS simulator is broken From: Steve Ellcey Reply-To: To: Mike Frysinger CC: Date: Mon, 11 Jan 2016 22:38:00 -0000 In-Reply-To: <20160108224858.GB3553@vapier.lan> References: <5f31ca78-325c-4c18-9abf-16de50bac964@BAMAIL02.ba.imgtec.org> <20160108224858.GB3553@vapier.lan> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-SW-Source: 2016-01/txt/msg00201.txt.bz2 On Fri, 2016-01-08 at 17:48 -0500, Mike Frysinger wrote: > On 08 Jan 2016 14:30, Steve Ellcey wrote: > > Your December 26th change to the mips simulator has broken it, at least > > for me. I am trying to compile and run a program with mips32r2 big-endian > > and am using the mti32.ld linker script. > > > > After your commit my attempts to run a 'hello world' program die with: > > please add a testcase to the sim/testsuite/ tree that triggers the error > when you run `make check`. i can look after that. > -mike I have no idea how to add a testcase to sim/testsuite but the mips tests that are already there all fail (they used to work). I built the mips-sde-elf toolchain (to see if it worked better than mips-mti-elf) and when I ran 'make check' in the sim directory all the existing mips tests failed on execution. I retested after backing out your change and everything passed. An example of one failure: /scratch/sellcey/repos/elf/obj-mips-sde-elf/gdb/sim/testsuite/../mips/run sanity.s.x spawn /scratch/sellcey/repos/elf/obj-mips-sde-elf/gdb/sim/testsuite/../mips/run sanity.s.x mips-core: 4 byte read to unmapped address 0xffffffff80010000 at 0xffffffff80010000 program stopped with signal 10 (User defined signal 1). FAIL: mips32 sanity.s (execution) Steve Ellcey sellcey@imgtec.com