All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] linux-user, trivial: display "0x%x" instead of "0x%d"
@ 2016-06-20  9:51 ` Laurent Vivier
  0 siblings, 0 replies; 10+ messages in thread
From: Laurent Vivier @ 2016-06-20  9:51 UTC (permalink / raw)
  To: Riku Voipio; +Cc: qemu-devel, qemu-trivial, Laurent Vivier

Display an exception number, generally defined as an hexadecimal
number (for instance, EXCP_HLT is 0x10001).

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
Resent to fix qemu-trivial email address.

 linux-user/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linux-user/main.c b/linux-user/main.c
index b9a4e0e..c79f5cb 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -2036,7 +2036,7 @@ void cpu_loop(CPUPPCState *env)
             /* just indicate that signals should be handled asap */
             break;
         default:
-            cpu_abort(cs, "Unknown exception 0x%d. Aborting\n", trapnr);
+            cpu_abort(cs, "Unknown exception 0x%x. Aborting\n", trapnr);
             break;
         }
         process_pending_signals(env);
-- 
2.5.5



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-07-26 12:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-20  9:51 [Qemu-trivial] [PATCH] linux-user, trivial: display "0x%x" instead of "0x%d" Laurent Vivier
2016-06-20  9:51 ` [Qemu-devel] " Laurent Vivier
2016-06-20 16:49 ` [Qemu-trivial] " Eric Blake
2016-06-20 16:49   ` Eric Blake
2016-06-20 17:24   ` [Qemu-trivial] " Laurent Vivier
2016-06-20 17:24     ` Laurent Vivier
2016-06-21 19:22 ` [Qemu-trivial] " Riku Voipio
2016-06-21 19:22   ` [Qemu-devel] " Riku Voipio
2016-07-26 12:34 ` [Qemu-trivial] " Michael Tokarev
2016-07-26 12:34   ` [Qemu-devel] " Michael Tokarev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.