|
Message
From: =?unknown-8bit?Q?Gy=F6rgy?= 'nog' Jeney<nog@s...>
Date: Thu Mar 24 21:10:25 CET 2005
Subject: [openrisc] [or1ksim #57] Fix NOP_REPORT
Hi,I broke NOP_REPORT sometime ago with a typo that made it report numbers in decimal instead of hex. This fixes it.
ChangeLog: * NOP_REPORT should report numbers in hex not decimal.
nog. -------------- next part -------------- diff -urp --unidirectional-new-file /home/nog/or1ksim-split/cpu/or32/insnset.c ./cpu/or32/insnset.c --- /home/nog/or1ksim-split/cpu/or32/insnset.c 2005-03-23 18:17:18.000000000 +0100 +++ ./cpu/or32/insnset.c 2005-03-18 15:16:10.000000000 +0100 @@ -324,7 +328,7 @@ INSTRUCTION (l_nop) { debug(5, "simprintf %x\n", stackaddr); break; case NOP_REPORT: - PRINTF("report(0x%"PRIdREG");\n", evalsim_reg(3)); + PRINTF("report(0x%"PRIxREG");\n", evalsim_reg(3)); default: if (k >= NOP_REPORT_FIRST && k <= NOP_REPORT_LAST) PRINTF("report %i (0x%"PRIxREG");\n", k - NOP_REPORT_FIRST,
|
 |