- remove requirement for file2c.tcl
git-svn-id: svn://svn.berlios.de/openocd/trunk@800 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
# Simple tcl client to connect to openocd
|
||||
puts "Use empty line to exit"
|
||||
set fo [socket 127.0.0.1 6666]
|
||||
puts -nonewline stdout "> "
|
||||
flush stdout
|
||||
while {[gets stdin line] >= 0} {
|
||||
if {$line eq {}} break
|
||||
puts $fo $line
|
||||
flush $fo
|
||||
gets $fo line
|
||||
puts $line
|
||||
puts -nonewline stdout "> "
|
||||
flush stdout
|
||||
}
|
||||
close $fo
|
||||
# Simple tcl client to connect to openocd
|
||||
puts "Use empty line to exit"
|
||||
set fo [socket 127.0.0.1 6666]
|
||||
puts -nonewline stdout "> "
|
||||
flush stdout
|
||||
while {[gets stdin line] >= 0} {
|
||||
if {$line eq {}} break
|
||||
puts $fo $line
|
||||
flush $fo
|
||||
gets $fo line
|
||||
puts $line
|
||||
puts -nonewline stdout "> "
|
||||
flush stdout
|
||||
}
|
||||
close $fo
|
||||
|
||||
Reference in New Issue
Block a user