From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFRFv-0006U1-3a for qemu-devel@nongnu.org; Tue, 21 Jun 2016 15:22:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFRFq-0004m9-6A for qemu-devel@nongnu.org; Tue, 21 Jun 2016 15:22:39 -0400 Date: Tue, 21 Jun 2016 22:22:27 +0300 From: Riku Voipio Message-ID: <20160621192227.GB21172@beaming.home> References: <1466416292-9615-1-git-send-email-laurent@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1466416292-9615-1-git-send-email-laurent@vivier.eu> Subject: Re: [Qemu-devel] [PATCH] linux-user, trivial: display "0x%x" instead of "0x%d" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier Cc: qemu-devel@nongnu.org, qemu-trivial@nongnu.org On Mon, Jun 20, 2016 at 11:51:32AM +0200, Laurent Vivier wrote: > Display an exception number, generally defined as an hexadecimal > number (for instance, EXCP_HLT is 0x10001). Acked-by: Riku Voipio > Signed-off-by: Laurent Vivier > --- > 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 >