summaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
authordrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2006-11-05 17:38:35 +0000
committerdrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2006-11-05 17:38:35 +0000
commit83440065c00cce9d36f23182b439d7bf2306cfb2 (patch)
treee70d7de58ac13ecb87025e2ef9e5ec6f8799726a /src/helper
parent456737b08bbc37d13e4e08fa625413f8b91a6458 (diff)
downloadopenocd+libswd-83440065c00cce9d36f23182b439d7bf2306cfb2.tar.gz
openocd+libswd-83440065c00cce9d36f23182b439d7bf2306cfb2.tar.bz2
openocd+libswd-83440065c00cce9d36f23182b439d7bf2306cfb2.tar.xz
openocd+libswd-83440065c00cce9d36f23182b439d7bf2306cfb2.zip
- correctly enter debug state on a "soft_reset_halt" command
- several small fixes - retry reading from a FT2232 device on incomplete reads git-svn-id: svn://svn.berlios.de/openocd/trunk@110 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/command.c b/src/helper/command.c
index 9a38723c..ca08535a 100644
--- a/src/helper/command.c
+++ b/src/helper/command.c
@@ -400,7 +400,7 @@ int command_run_file(command_context_t *context, FILE *file, enum command_mode m
break;
/* run line */
- if (command_run_line(context, cmd) == ERROR_COMMAND_CLOSE_CONNECTION)
+ if ((retval = command_run_line(context, cmd)) == ERROR_COMMAND_CLOSE_CONNECTION)
break;
}