summaryrefslogtreecommitdiff
path: root/src/target/arm11.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/arm11.h')
-rw-r--r--src/target/arm11.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/target/arm11.h b/src/target/arm11.h
index f8fea1a1..3fa1dd86 100644
--- a/src/target/arm11.h
+++ b/src/target/arm11.h
@@ -56,7 +56,10 @@ do { \
int __retval = (action); \
\
if (__retval != ERROR_OK) \
+ { \
+ LOG_DEBUG("error while calling \"" # action "\""); \
return __retval; \
+ } \
\
} while (0)