mirror of
git://git.code.sf.net/p/openocd/code
synced 2025-07-19 08:38:14 +10:00
Remove bogus "BUG:". If the PC is pointing to an invalid instruction, then simulation will fail. This is expected.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2629 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
9a9ebfb924
commit
c87357a33f
@ -1833,7 +1833,7 @@ int arm7_9_resume(struct target_s *target, int current, uint32_t address, int ha
|
||||
{
|
||||
uint32_t current_opcode;
|
||||
target_read_u32(target, current_pc, ¤t_opcode);
|
||||
LOG_ERROR("BUG: couldn't calculate PC of next instruction, current opcode was 0x%8.8" PRIx32 "", current_opcode);
|
||||
LOG_ERROR("Couldn't calculate PC of next instruction, current opcode was 0x%8.8" PRIx32 "", current_opcode);
|
||||
return retval;
|
||||
}
|
||||
|
||||
@ -2038,7 +2038,7 @@ int arm7_9_step(struct target_s *target, int current, uint32_t address, int hand
|
||||
{
|
||||
uint32_t current_opcode;
|
||||
target_read_u32(target, current_pc, ¤t_opcode);
|
||||
LOG_ERROR("BUG: couldn't calculate PC of next instruction, current opcode was 0x%8.8" PRIx32 "", current_opcode);
|
||||
LOG_ERROR("Couldn't calculate PC of next instruction, current opcode was 0x%8.8" PRIx32 "", current_opcode);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user