From: Jonas Maebe <jonas.maebe@elis.ugent.be>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Matthew Gretton-Dann <matthew.gretton-dann@arm.com>,
"gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: Debug ARM semihosting Thumb-2 binary
Date: Thu, 23 Feb 2012 14:51:00 -0000 [thread overview]
Message-ID: <B888BD65-9219-4A37-932E-087FB58AE5C6@elis.ugent.be> (raw)
In-Reply-To: <CAFEAcA9-KAJ+9Kq+DwKJa+Ea=BoL8SKS=62vBerS-dMN9bMqkg@mail.gmail.com>
On 23 Feb 2012, at 15:47, Peter Maydell wrote:
> On 23 February 2012 14:12, Jonas Maebe <jonas.maebe@elis.ugent.be>
> wrote:
>> So it seems the reading of the input file fails.
>
> I look into my crystal ball and deduce that you're running gdb
> in the wrong directory. When you do semihosting via gdb syscalls
> the file opens are for paths relative to gdb's working directory,
> not qemu's. This particular test seems to have no error handling
> so if it can't open the file it will happily proceed to sort
> no data...
That's an awesome crystal ball, I want one too! I can confirm now that
the patch works as expected and everything is fine.
Thanks a lot!
Jonas
prev parent reply other threads:[~2012-02-23 14:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-08 10:34 Jonas Maebe
2012-02-08 17:34 ` Matthew Gretton-Dann
2012-02-08 22:36 ` Jonas Maebe
2012-02-09 1:38 ` Matthew Gretton-Dann
2012-02-09 13:08 ` Jonas Maebe
2012-02-15 17:33 ` Peter Maydell
2012-02-20 16:21 ` Peter Maydell
2012-02-23 14:12 ` Jonas Maebe
2012-02-23 14:48 ` Peter Maydell
2012-02-23 14:51 ` Jonas Maebe [this message]
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=B888BD65-9219-4A37-932E-087FB58AE5C6@elis.ugent.be \
--to=jonas.maebe@elis.ugent.be \
--cc=gdb@sourceware.org \
--cc=matthew.gretton-dann@arm.com \
--cc=peter.maydell@linaro.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).