From: Meador Inge <meadori@codesourcery.com>
To: qemu-devel@nongnu.org
Cc: "Andreas Färber" <afaerber@suse.de>, paul@codesourcery.com
Subject: Re: [Qemu-devel] [PATCH v1 1/1] m68k: Return semihosting errno values correctly
Date: Tue, 27 Mar 2012 10:07:25 -0500 [thread overview]
Message-ID: <4F71D7AD.8080103@codesourcery.com> (raw)
In-Reply-To: <4F4814F7.6040008@suse.de>
Ping.
On 02/24/2012 04:53 PM, Andreas Färber wrote:
> Am 24.02.2012 23:18, schrieb Meador Inge:
>> Fixing a simple typo, s/errno/err/, that caused
>> the error status from GDB semihosted system calls
>> to be returned incorrectly.
>>
>> Signed-off-by: Meador Inge <meadori@codesourcery.com>
>
> Nice catch!
>
> Reviewed-by: Andreas Färber <afaerber@suse.de>
>
> Andreas
>
>> ---
>> m68k-semi.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/m68k-semi.c b/m68k-semi.c
>> index bab01ee..6d60ced 100644
>> --- a/m68k-semi.c
>> +++ b/m68k-semi.c
>> @@ -150,7 +150,7 @@ static void m68k_semi_cb(CPUState *env, target_ulong ret, target_ulong err)
>> }
>> /* FIXME - handle put_user() failure */
>> put_user_u32(ret, args);
>> - put_user_u32(errno, args + 4);
>> + put_user_u32(err, args + 4);
>> }
>>
>> #define ARG(n) \
>
--
Meador Inge
CodeSourcery / Mentor Embedded
http://www.mentor.com/embedded-software
next prev parent reply other threads:[~2012-03-27 15:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-24 22:18 [Qemu-devel] [PATCH v1 1/1] m68k: Return semihosting errno values correctly Meador Inge
2012-02-24 22:53 ` Andreas Färber
2012-03-27 15:07 ` Meador Inge [this message]
2012-03-27 15:43 ` Peter Maydell
2012-03-27 15:51 ` Andreas Färber
2012-10-29 9:42 ` Peter Maydell
2012-10-29 10:03 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
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=4F71D7AD.8080103@codesourcery.com \
--to=meadori@codesourcery.com \
--cc=afaerber@suse.de \
--cc=paul@codesourcery.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).