From: Stuart Anderson <anderson@netsweng.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] linux-user strace
Date: Sat, 21 Jul 2007 12:26:42 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0707211222500.13035@trantor.stuart.netsweng.com> (raw)
In-Reply-To: <jevecdu4me.fsf@sykes.suse.de>
On Sat, 21 Jul 2007, Andreas Schwab wrote:
> That's the problem. It does not return the string associated with the
> target errno, but something else.
It depends on what is being passed in to it. Looking over it again this
morning, I can see some paths where it is passed the host errno, and
some paths where it is passed a target errno via "ret". So in the later
case, it would be double mapping the errno, which would be wrong.
I had suspected there may be a bit more work left in mapping errno values,
but I wasn't yet sure what was needed where. I'd like to clear up the use
of target_strerr() as part of that fix if that's ok with everyone.
Stuart
Stuart R. Anderson anderson@netsweng.com
Network & Software Engineering http://www.netsweng.com/
1024D/37A79149: 0791 D3B8 9A4C 2CDC A31F
BD03 0A62 E534 37A7 9149
next prev parent reply other threads:[~2007-07-21 16:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-20 19:05 [Qemu-devel] [PATCH] linux-user strace Stuart Anderson
2007-07-20 21:41 ` Andreas Schwab
2007-07-21 13:10 ` Stuart Anderson
2007-07-21 16:02 ` Andreas Schwab
2007-07-21 16:26 ` Stuart Anderson [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-07-06 15:19 Stuart Anderson
2007-06-20 21:29 Stuart Anderson
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=Pine.LNX.4.64.0707211222500.13035@trantor.stuart.netsweng.com \
--to=anderson@netsweng.com \
--cc=qemu-devel@nongnu.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 NNTP newsgroup(s).