From 22bc5194ae101282cf5c30d681d7f4720bec2534 Mon Sep 17 00:00:00 2001 From: drath Date: Wed, 25 Apr 2007 20:15:59 +0000 Subject: - added support for error handlers to JTAG scan commands (jtag_[plain_][ir|dr]_scan) - catch apparently broken JTAG IR scan after ARM926EJ-S CP15 operations - added "arm7_9 dump_etb" command git-svn-id: svn://svn.berlios.de/openocd/trunk@142 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/command.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/helper/command.c') diff --git a/src/helper/command.c b/src/helper/command.c index b4b2164e..11284a1c 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -357,6 +357,10 @@ int command_run_line(command_context_t *context, char *line) if (!*line) return ERROR_OK; + /* ignore comments */ + if (*line && (line[0] == '#')) + return ERROR_OK; + if (context->echo) { command_print(context, "%s", line); -- cgit v1.2.3