summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-08-26 10:03:54 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-08-26 10:03:54 +0000
commitc87357a33f554e7e7c9e8f37cd15560c7e044cf4 (patch)
tree0ce647f1878b9376f5e600c35333b5ed8bea3dd8
parent9a9ebfb924553e0f4837c4ef77b900f1f5d824f1 (diff)
downloadopenocd_libswd-c87357a33f554e7e7c9e8f37cd15560c7e044cf4.tar.gz
openocd_libswd-c87357a33f554e7e7c9e8f37cd15560c7e044cf4.tar.bz2
openocd_libswd-c87357a33f554e7e7c9e8f37cd15560c7e044cf4.tar.xz
openocd_libswd-c87357a33f554e7e7c9e8f37cd15560c7e044cf4.zip
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
-rw-r--r--src/target/arm7_9_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c
index c0018f64..7400f181 100644
--- a/src/target/arm7_9_common.c
+++ b/src/target/arm7_9_common.c
@@ -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, &current_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, &current_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;
}