public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Jim Wilson <jimw@sifive.com>
To: joel@rtems.org
Cc: Nick Clifton <nickc@redhat.com>, Simon Marchi <simark@simark.ca>,
	gdb@sourceware.org
Subject: Re: Running programs on aarch64 simulator
Date: Mon, 11 May 2020 10:58:26 -0700	[thread overview]
Message-ID: <CAFyWVab6xsQp+awV5052wVznHFsZORXPFQhPPfHnDmQ3UKNC5Q@mail.gmail.com> (raw)
In-Reply-To: <CAF9ehCW9Kj5TxOTiRO08EPWvwB+2mcUATFeoDhLa=8tnmXtZ3A@mail.gmail.com>

On Mon, May 11, 2020 at 7:41 AM Joel Sherrill <joel@rtems.org> wrote:
> I'm trying to build one that will run on the simulator. I haven't managed to
> do that yet. :(

You can find the answer in dejagnu.  See baseboards/aarch64-sim.exp
which uses -specs=rdimon.specs.

The aarch64 gdb sim is incomplete by the way.  ARM won't let ARM
engineers contribute to it because of IP concerns.  I did some work on
it when I was at Linaro, but there are still a number of instructions
that are missing or implemented wrong.  I got the gcc testsuite
failures down to about 1200 before I left Linaro.  I don't test it
anymore, so I don't know the current state.  I would suggest using
qemu instead unless you want to fix simulator bugs.

Jim

  reply	other threads:[~2020-05-11 17:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-08 13:44 Joel Sherrill
2020-05-08 16:09 ` Simon Marchi
2020-05-08 16:57   ` Joel Sherrill
2020-05-08 17:17     ` Simon Marchi
2020-05-11  2:35       ` Simon Marchi
2020-05-11 14:26       ` Nick Clifton
2020-05-11 14:40         ` Joel Sherrill
2020-05-11 17:58           ` Jim Wilson [this message]
2020-05-11 18:30             ` Joel Sherrill
2020-05-11 22:13               ` Jim Wilson
2020-05-08 16:16 ` Luis Machado
2020-05-08 16:44   ` Joel Sherrill

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=CAFyWVab6xsQp+awV5052wVznHFsZORXPFQhPPfHnDmQ3UKNC5Q@mail.gmail.com \
    --to=jimw@sifive.com \
    --cc=gdb@sourceware.org \
    --cc=joel@rtems.org \
    --cc=nickc@redhat.com \
    --cc=simark@simark.ca \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).