forked from OERV-BSP/u-boot
bios_emulator: Always print errors when opcode decode fails
This is a rare event and should not happen. When it does it is confusing to work out why. At least we should print a message. Adjust the emulator to always print decode errors to the console. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -99,7 +99,11 @@
|
||||
# define DEBUG_DECODE_NOPRINT() 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_X86EMU_DEBUG
|
||||
# define ERR_PRINTF(x) printf(x)
|
||||
# define ERR_PRINTF2(x, y) printf(x, y)
|
||||
|
||||
#ifdef CONFIG_X86EMU_DEBUG103
|
||||
|
||||
|
||||
# define DECODE_PRINTF(x) if (DEBUG_DECODE()) \
|
||||
x86emu_decode_printf(x)
|
||||
|
||||
Reference in New Issue
Block a user