mirror of https://gitee.com/openkylin/qemu.git
linux-user, trivial: display "0x%x" instead of "0x%d"
Display an exception number, generally defined as an hexadecimal number (for instance, EXCP_HLT is 0x10001). Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Eric Blake <eblake@redhat.com> Acked-by: Riku Voipio <riku.voipio@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
8928473699
commit
8223f345b9
|
@ -2030,7 +2030,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);
|
||||
|
|
Loading…
Reference in New Issue