From: Richard Henderson <rth@twiddle.net>
To: Stafford Horne <shorne@gmail.com>
Cc: Jia Liu <proljc@gmail.com>,
qemu-devel@nongnu.org, openrisc@lists.librecores.org
Subject: Re: [Qemu-devel] [PATCH] target-openrisc: Fix exception handling status registers
Date: Mon, 6 Feb 2017 21:53:26 -0800 [thread overview]
Message-ID: <d3dac109-ad39-8bb9-2012-f7a6824139eb@twiddle.net> (raw)
In-Reply-To: <20170201100423.GE21641@lianli.shorne-pla.net>
On 02/01/2017 02:04 AM, Stafford Horne wrote:
> For kernel builds I have created toolchain binaries here:
>
> http://shorne.noip.me/crosstool/files/bin/x86_64/5.4.0/
>
> These should work.
This gdb crashes on the first "stepi" that I issue. To reproduce,
$ cat z.c
int main() { return 0; }
$ or1k-musl-linux-gcc -g z.c
$ qemu-or32 -g 10001 ./a.out
// another window
$ or1k-musl-linux-gdb ./a.out
(gdb) target remote localhost:10001
// should see that the pc is at _start
(gdb) stepi
// crash
I won't be able to debug this myself until I can build my own gdb.
r~
next prev parent reply other threads:[~2017-02-07 5:53 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20170113215720.29598-1-shorne@gmail.com>
[not found] ` <20170113220252.GE25986@lianli.shorne-pla.net>
[not found] ` <CAJBMM-sX4fGckYy-eNRdZ9dKamOoJoK2fQ4TLS80T5n6jCkpFg@mail.gmail.com>
2017-01-14 8:04 ` [Qemu-devel] [PATCH] target-openrisc: Fix exception handling status registers Stafford Horne
2017-01-20 16:39 ` Stafford Horne
2017-01-23 18:08 ` Richard Henderson
2017-01-24 10:26 ` Stafford Horne
2017-01-24 18:32 ` Richard Henderson
2017-01-25 12:34 ` Stafford Horne
2017-01-25 17:27 ` Richard Henderson
2017-01-26 13:12 ` Stafford Horne
2017-01-26 17:26 ` Richard Henderson
2017-01-26 22:01 ` Stafford Horne
2017-02-01 10:04 ` Stafford Horne
2017-02-01 18:15 ` Richard Henderson
2017-02-02 14:34 ` Stafford Horne
2017-02-03 15:14 ` Stafford Horne
2017-02-07 2:36 ` Richard Henderson
2017-02-07 5:53 ` Richard Henderson [this message]
2017-02-08 14:01 ` Stafford Horne
2017-02-08 16:38 ` Stafford Horne
2017-02-08 20:38 ` Richard Henderson
2017-01-13 22:00 Stafford Horne
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=d3dac109-ad39-8bb9-2012-f7a6824139eb@twiddle.net \
--to=rth@twiddle.net \
--cc=openrisc@lists.librecores.org \
--cc=proljc@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=shorne@gmail.com \
/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 NNTP newsgroup(s).