X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Ftarget%2Farm_disassembler.c;h=2e87bb3c37f71d827eb1c601d6a34bd116739ca4;hb=7805be1b3a8f65aff9a861fd8ca62518143f1524;hp=7028e9f515c0b1ed1a25013e597a86c899f54bd4;hpb=8c290412d28f9eef568dac0cfc20ccd4a9eca4d5;p=openocd diff --git a/src/target/arm_disassembler.c b/src/target/arm_disassembler.c index 7028e9f5..2e87bb3c 100644 --- a/src/target/arm_disassembler.c +++ b/src/target/arm_disassembler.c @@ -57,7 +57,7 @@ int evaluate_pld(u32 opcode, u32 address, arm_instruction_t *instruction) return ERROR_OK; } - ERROR("should never reach this point"); + LOG_ERROR("should never reach this point"); return -1; } @@ -1317,7 +1317,7 @@ int arm_evaluate_opcode(u32 opcode, u32 address, arm_instruction_t *instruction) return evaluate_cdp_mcr_mrc(opcode, address, instruction); } - ERROR("should never reach this point"); + LOG_ERROR("should never reach this point"); return -1; } @@ -2076,7 +2076,7 @@ int thumb_evaluate_opcode(u16 opcode, u32 address, arm_instruction_t *instructio } } - ERROR("should never reach this point (opcode=%04x)",opcode); + LOG_ERROR("should never reach this point (opcode=%04x)",opcode); return -1; } @@ -2110,7 +2110,7 @@ int arm_access_size(arm_instruction_t *instruction) } else { - ERROR("BUG: instruction type %i isn't a load/store instruction", instruction->type); + LOG_ERROR("BUG: instruction type %i isn't a load/store instruction", instruction->type); return 0; } }