Looking a bit closer, it appears there are a number of missing
commands which will probably cause problems in my existing scripts.
The ones that jump out are:
- binary
- cd
- close
- eof
- exec
- file
- glob
- open
- pwd
- read
- seek
- stderr
- tell
For reference, below is a diff between the list of commands in the
dev build and the list of commands in the final release build:
============================================
--- 0.10.0-dev-commands.txt 2017-02-15 12:53:38.041350200 -0700
+++ 0.10.0-commands.txt 2017-02-15 12:53:40.889350200 -0700
@@ -2,8 +2,6 @@
*
/
-{binary format}
-{binary scan}
{dict append}
{dict for}
{dict incr}
@@ -17,36 +15,6 @@
{file copy}
{file delete force}
{info nameofexecutable}
-{namespace code}
-{namespace delete}
-{namespace import}
-{namespace info}
-{namespace inscope}
-{namespace origin}
-{namespace upvar}
-{namespace which}
-{tree children}
-{tree classname}
-{tree classvars}
-{tree depth}
-{tree destroy}
-{tree dump}
-{tree eval}
-{tree finalize}
-{tree get}
-{tree getall}
-{tree insert}
-{tree keyexists}
-{tree lappend}
-{tree method}
-{tree methods}
-{tree new}
-{tree next}
-{tree numchildren}
-{tree parent}
-{tree set}
-{tree vars}
-{tree walk}
+
adapter_khz
adapter_name
@@ -61,15 +29,11 @@
apply
armv4_5
array
-binary
-binary::nextarg
+bindto
break
capture
catch
-cd
-class
clock
-close
collect
command
concat
@@ -83,21 +47,16 @@
dict
echo
env
-eof
error
errorInfo
eval
-exec
exists
exit
expr
-fconfigure
-file
fileevent
finalize
find
flash
-flush
for
foreach
format
@@ -111,14 +70,8 @@
gdb_sync
gdb_target_description
getref
-gets
-glob
-glob.explode
-glob.glob
-glob.globdir
global
help
-history
if
incr
info
@@ -149,7 +102,6 @@
list
llength
lmap
-load
local
log_output
loop
@@ -163,7 +115,6 @@
measure_clk
mflash
ms
-namespace
nand
new_target_name
noinit
@@ -173,6 +124,7 @@
ocd_add_help_text
ocd_add_script_search_dir
ocd_add_usage_text
+ocd_bindto
ocd_bouncer
ocd_command
ocd_debug_level
@@ -214,9 +166,6 @@
ocd_telnet_port
ocd_transport
ocd_usage
-open
-pack
-package
parray
pid
pld
@@ -228,11 +177,8 @@
program
program_error
puts
-pwd
rand
range
-read
-readdir
ref
regexp
regsub
@@ -241,7 +187,6 @@
return
scan
script
-seek
set
set_default_target_event
setref
@@ -253,9 +198,6 @@
srst_deasserted
stackdump
stacktrace
-stderr
-stdin
-stdout
stlink
stlink_device_desc
stlink_layout
@@ -268,23 +210,18 @@
stm32x
string
subst
-super
switch
tailcall
target
targets
-tcl::prefix
tcl_notifications
tcl_port
tcl_trace
-tell
telnet_port
throw
time
transport
-tree
try
-unpack
unset
upcall
update
@@ -294,7 +231,6 @@
using_hla
using_jtag
using_swd
-variable
version
vwait
while
============================================
> -----Original Message-----
> From: Paul Fertser [mailto:[email protected]]
> Sent: Wednesday, February 15, 2017 12:10 PM
> To: Frazier, Mitch [AUTOSOL/FLMC/US]
> Cc: [email protected]
> Subject: Re: [OpenOCD-devel] missing tcl commands in 0.10.0
>
> Hello Mitch,
>
> On Wed, Feb 15, 2017 at 06:14:14PM +0000, [email protected]
> wrote:
> > I was just trying out the 0.10.0 Windows build of openocd
> > from www.freddiechopin.info and it seems that some jimtcl
> > commands are missing. Specifically I noticed that
> > "file" is not found.
>
> Nobody objected to the patch so the jimtcl build got trimmed a
> little.
>
> Thank you for the report, I'll send a patch to add "file" back
> tomorrow.
>
> --
> Be free, use free (http://www.gnu.org/philosophy/free-sw.html)
> software!
> mailto:[email protected]
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel