Karl Beldan <karl.beldan@gmail.com> - fix vector_catch command
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 4 Dec 2008 11:03:15 +0000 (11:03 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 4 Dec 2008 11:03:15 +0000 (11:03 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1212 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/xscale.c

index 36d41fd5e8d2bcaf3242a175a36059db08ff99af..022204705e1e4fdb3ba5cbbb454319398772ed81 100644 (file)
@@ -3720,7 +3720,7 @@ int xscale_register_commands(struct command_context_s *cmd_ctx)
        register_command(cmd_ctx, xscale_cmd, "icache", xscale_handle_idcache_command, COMMAND_EXEC, "['enable'|'disable'] the ICache");
        register_command(cmd_ctx, xscale_cmd, "dcache", xscale_handle_idcache_command, COMMAND_EXEC, "['enable'|'disable'] the DCache");
 
-       register_command(cmd_ctx, xscale_cmd, "vector_catch", xscale_handle_idcache_command, COMMAND_EXEC, "<mask> of vectors that should be catched");
+       register_command(cmd_ctx, xscale_cmd, "vector_catch", xscale_handle_vector_catch_command, COMMAND_EXEC, "<mask> of vectors that should be catched");
 
        register_command(cmd_ctx, xscale_cmd, "trace_buffer", xscale_handle_trace_buffer_command, COMMAND_EXEC, "<enable|disable> ['fill' [n]|'wrap']");