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 */
|
/* just indicate that signals should be handled asap */
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
cpu_abort(cs, "Unknown exception 0x%d. Aborting\n", trapnr);
|
cpu_abort(cs, "Unknown exception 0x%x. Aborting\n", trapnr);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
process_pending_signals(env);
|
process_pending_signals(env);
|
||||||
|
|
Loading…
Reference in a new issue