diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-07-19 08:11:48 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-07-19 08:11:48 +0000 |
commit | e852c61bb32e94eb125b9a976ecdd385b600aedd (patch) | |
tree | e22333db52144ea94a259b6d1e22b432976d99b5 /src | |
parent | 2cac9c333fae5a5c944e2cd05544d17ba3db1251 (diff) | |
download | openocd+libswd-e852c61bb32e94eb125b9a976ecdd385b600aedd.tar.gz openocd+libswd-e852c61bb32e94eb125b9a976ecdd385b600aedd.tar.bz2 openocd+libswd-e852c61bb32e94eb125b9a976ecdd385b600aedd.tar.xz openocd+libswd-e852c61bb32e94eb125b9a976ecdd385b600aedd.zip |
clarify error message w.r.t. not being able to set breakpoint
git-svn-id: svn://svn.berlios.de/openocd/trunk@836 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/target/arm7_9_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c index fe2cfabb..a57fbb5e 100644 --- a/src/target/arm7_9_common.c +++ b/src/target/arm7_9_common.c @@ -185,7 +185,7 @@ int arm7_9_set_breakpoint(struct target_s *target, breakpoint_t *breakpoint) target->type->read_memory(target, breakpoint->address, 4, 1, (u8 *)&verify); if (verify != arm7_9->arm_bkpt) { - LOG_ERROR("Unable to set 32 bit software breakpoint at address %08x", breakpoint->address); + LOG_ERROR("Unable to set 32 bit software breakpoint at address %08x - check that memory is read/writable", breakpoint->address); return ERROR_OK; } } @@ -200,7 +200,7 @@ int arm7_9_set_breakpoint(struct target_s *target, breakpoint_t *breakpoint) target->type->read_memory(target, breakpoint->address, 2, 1, (u8 *)&verify); if (verify != arm7_9->thumb_bkpt) { - LOG_ERROR("Unable to set thumb software breakpoint at address %08x", breakpoint->address); + LOG_ERROR("Unable to set thumb software breakpoint at address %08x - check that memory is read/writable", breakpoint->address); return ERROR_OK; } } |