openocd/doc
Paul Fertser 19f219f731 Tcl exception codes cleanup, shutdown command amendments
This patch might influence openocd Tcl commands behaviour in subtle
ways, please give it a nice testing.

The idea is that if an OpenOCD Tcl command returns an error, an
exception is raised, and then the return code is propogated all the
way up (or to the "catch" if present). This allows to detect
"shutdown" which is not actually an error but has to raise an
exception to stop execution of the commands that follow it in the
script.

openocd_thread special-cases shutdown because it should then terminate
OpenOCD with a success error code, unless shutdown was called with an
optional "error" argument which means terminate with a non-zero exit
code.

Change-Id: I7b6fa8a2e24c947dc45d8def0008b4b007c478b3
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2600
Tested-by: jenkins
Reviewed-by: Juha Niskanen <juha.niskanen@haltian.com>
Reviewed-by: Jens Bauer <jens@gpio.dk>
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
2015-04-14 12:11:48 +01:00
..
manual Some minor URL fixes and typo fixes, no functional changes. 2014-01-11 08:13:53 +00:00
fdl.texi - update openocd.texi to fdl 1.2 2008-02-29 18:10:46 +00:00
INSTALL.txt Remove annoying end-of-line whitespace from doc/* files. 2009-09-21 18:52:45 +00:00
Makefile.am doc: add "manual/" directory in its entirety to dist 2014-03-29 07:55:30 +00:00
openocd.1 docs: update incorrect urls 2013-03-28 23:24:40 +00:00
openocd.texi Tcl exception codes cleanup, shutdown command amendments 2015-04-14 12:11:48 +01:00