summaryrefslogtreecommitdiff
path: root/src/helper/interpreter.c
diff options
context:
space:
mode:
authordrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2006-09-28 10:41:43 +0000
committerdrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2006-09-28 10:41:43 +0000
commita582e9a8d183c56d1aa8ae18afc1c11e2cbd6d2d (patch)
treebc069458c57c3bb587df10d5bd257d5f49657e68 /src/helper/interpreter.c
parentb855855445489c43de2b796f1ac921e518d787bd (diff)
downloadopenocd+libswd-a582e9a8d183c56d1aa8ae18afc1c11e2cbd6d2d.tar.gz
openocd+libswd-a582e9a8d183c56d1aa8ae18afc1c11e2cbd6d2d.tar.bz2
openocd+libswd-a582e9a8d183c56d1aa8ae18afc1c11e2cbd6d2d.tar.xz
openocd+libswd-a582e9a8d183c56d1aa8ae18afc1c11e2cbd6d2d.zip
- str9x flash support (Thanks to Spencer Oliver)
- str75x flash support (Thanks to Spencer Oliver) - correct reporting of T-Bit in CPSR (Thanks to John Hartman for reporting this) - core-state (ARM/Thumb) can be switched by modifying CPSR - fixed bug in gdb_server register handling - register values > 32-bit should now be supported - several minor fixes and enhancements git-svn-id: svn://svn.berlios.de/openocd/trunk@100 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/interpreter.c')
-rw-r--r--src/helper/interpreter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/interpreter.c b/src/helper/interpreter.c
index 17d24b1f..7b0432ab 100644
--- a/src/helper/interpreter.c
+++ b/src/helper/interpreter.c
@@ -126,7 +126,7 @@ int handle_var_command(struct command_context_s *cmd_ctx, char *cmd, char **args
last_var_p = &((*last_var_p)->next);
}
- if ((args[0][0] >= 0) && (args[0][0] <= 9))
+ if ((args[0][0] >= '0') && (args[0][0] <= '9'))
{
command_print(cmd_ctx, "invalid name specified (first character may not be a number)");
return ERROR_OK;