]> git.sur5r.net Git - openocd/commit
command context: fix errors when running certain commands on startup
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 3 May 2010 15:01:53 +0000 (17:01 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Wed, 5 May 2010 13:24:24 +0000 (15:24 +0200)
commit91b9f3de0b8e3277ab5c584c6076ddfe491ffc86
tree21967095062de948d60d9ffe775217a7a720b7fa
parent7e33f87b3d25331f3ac366c88e0b0ebb196422ec
command context: fix errors when running certain commands on startup

Various commands, e.g. "arm mcr xxxx" would fail if invoked upon startup
since it there was no command context defined for the jim interpreter
in that case.

A Jim interpreter is now associated with a command context(telnet,
gdb server's) or the default global command context.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/helper/command.c
src/helper/command.h
src/jtag/tcl.c
src/target/armv4_5.c
src/target/target.c