On Thu, Jul 14, 2011 at 6:45 PM, Maxim Cournoyer
<maxim.courno...@gmail.com>wrote:

> **
> Hello Rodrigo & OpenOCD comrades!
>
> Le jeudi 07 juillet 2011 à 14:55 -0700, Rodrigo Rosa a écrit :
>
> the c part of your code was very useful. i'm was the telnet port, and
> ignoring the output i did not care about.
> now with the gdb port i get:
>   - "0" for success
>   - "1" for fail
>   - a message "invalid command name ...." if the cmd name is invalid
>   - whatever the command would normally output to the telnet console
> if i run "capture command_name \x1a" or "capture {command_name
> command_arguments} \x1a".
>
>
i think i was wrong about this, it looks like the behavior as described in
the tcl script:
  - EOC if ok
  - More stuff if either "capture" is specified or if the command name is
wrong.

How can i tell if a command specified with the correct name fails?

thanks!
-- 
Rodrigo.
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to