From: Steve Ellcey <sellcey@imgtec.com>
To: Mike Frysinger <vapier@gentoo.org>
Cc: <gdb-patches@sourceware.org>
Subject: Re: MIPS simulator is broken
Date: Mon, 11 Jan 2016 22:38:00 -0000 [thread overview]
Message-ID: <1452551879.29343.112.camel@ubuntu-sellcey> (raw)
In-Reply-To: <20160108224858.GB3553@vapier.lan>
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
next prev parent reply other threads:[~2016-01-11 22:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-08 22:30 Steve Ellcey
2016-01-08 22:49 ` Mike Frysinger
2016-01-11 22:38 ` Steve Ellcey [this message]
2016-01-11 22:57 ` Mike Frysinger
2016-01-12 1:00 ` Mike Frysinger
2016-01-12 6:49 ` Mike Frysinger
2016-01-12 10:25 ` Pedro Alves
2016-01-30 16:10 ` Maciej W. Rozycki
2016-02-10 7:28 ` Mike Frysinger
2016-02-11 16:54 ` Maciej W. Rozycki
2016-03-10 14:09 ` Matthew Fortune
2016-03-21 11:54 ` Matthew Fortune
2016-04-05 8:33 ` Matthew Fortune
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1452551879.29343.112.camel@ubuntu-sellcey \
--to=sellcey@imgtec.com \
--cc=gdb-patches@sourceware.org \
--cc=vapier@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox