m68k: Return semihosting errno values correctly
PATCH 1/1 m68k: Return semihosting errno values correctly
Fixing a simple typo, s/errno/err/, that caused
the error status from GDB semihosted system calls
to be returned incorrectly.
--- m68k-semi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
m68k-semi.c +1 -1
@@ -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) \
Signature · 1 line
1.7.7.6
Am 24.02.2012 23:18, schrieb Meador Inge:
Quoted 5 lines
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 <[email protected]>
Nice catch!
Andreas
Quoted 17 lines
--- m68k-semi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)m68k-semi.c +1
-1@@ -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) \
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Ping.
Quoted 31 lines · Andreas Färber
Am 24.02.2012 23:18, schrieb Meador Inge:
Quoted 5 lines
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 <[email protected]>Nice catch!
Reviewed-by Andreas Färber <[email protected]>Andreas
Quoted 17 lines
--- m68k-semi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)m68k-semi.c +1
-1@@ -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) \
Signature · 3 lines
Meador Inge CodeSourcery / Mentor Embedded http://www.mentor.com/embedded-software
This patch is simple enough (and m68k unmaintained enough) that it could reasonably go through qemu-trivial I think.
-- PMM
Quoted 41 lines · Meador Inge
Ping.
Quoted 29 lines · Andreas Färber
Am 24.02.2012 23:18, schrieb Meador Inge:
Quoted 5 lines
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 <[email protected]>Nice catch!
Reviewed-by Andreas Färber <[email protected]>Andreas
Quoted 16 lines
---
m68k-semi.c | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)m68k-semi.c +1
-1@@ -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); }Quoted 2 lines
m68k-semi.c static void m68k_semi_cb(CPUState *env, target_ulong ret, target_ulong err) · line 156
Quoted 1 line
m68k-semi.c +0
-0#define ARG(n) \--
Meador Inge
CodeSourcery / Mentor Embedded
http://www.mentor.com/embedded-software
Am 27.03.2012 17:43, schrieb Peter Maydell:
Quoted 2 lines
This patch is simple enough (and m68k unmaintained enough) that it could reasonably go through qemu-trivial I think.
This one's a Mentor-internal issue though - Paul, are you planning to handle (your colleague's) m68k patches? Or should we downgrade m68k to
S: Orphan and handle them through some other to be defined way?
I'm asking because I have m68k QOM'ification in the queue and Anthony has set out not to apply patches for which a submaintainer is defined.
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
I just noticed this patch never got applied by anybody (and alas it now needs a refresh because the file was renamed in the interim.)
-- PMM
Quoted 47 lines · Peter Maydell
This patch is simple enough (and m68k unmaintained enough) that it could reasonably go through qemu-trivial I think.
-- PMM
Quoted 41 lines · Meador Inge
Ping.
Quoted 29 lines · Andreas Färber
Am 24.02.2012 23:18, schrieb Meador Inge:
Quoted 5 lines
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 <[email protected]>Nice catch!
Reviewed-by Andreas Färber <[email protected]>Andreas
Quoted 16 lines
--- m68k-semi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)m68k-semi.c +1
-1@@ -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 ); }Quoted 2 lines
m68k-semi.c static void m68k_semi_cb(CPUState *env, target_ulong ret, target_ulong err) · line 156
Quoted 1 line
m68k-semi.c +0
-0#define ARG (n) \--
Meador Inge
CodeSourcery / Mentor Embedded
http://www.mentor.com/embedded-software
Stefan Hajnoczi
AppliedQuoted 3 lines · Peter Maydell
I just noticed this patch never got applied by anybody (and alas it now needs a refresh because the file was renamed in the interim.)
Merged, thanks!
https://github.com/stefanha/qemu/commits/trivial-patches
Please CC qemu-trivial when suggesting a patch goes through the trivial queue.
Stefan