On Thu, Jul 10, 2008 at 11:06 AM, Spen <[EMAIL PROTECTED]> wrote:
>> The problem is that you have not spelled out "debug" =>
>> "debug_level" and that I broke the capability to write
>> partial commands.
>>
>> Partial commands are a real spanner in the works when adding
>> scripting...
>>
>> Will there be much knashing of teeth if we do pull that feature?
>>
>
> Sure it would not be a problem, probably need to work on the segfault issue
> however.
fixed.
>
> ftdi devices using the ftdi driver have a descriptor similar to
> ft2232_device_desc "STR9-comStick A"
>
> however openocd will now only accept the following
> ft2232_device_desc 'STR9-comStick A'
fixed.
Index: C:/workspace/trunk/src/tcl/commands.tcl
===================================================================
--- C:/workspace/trunk/src/tcl/commands.tcl (revision 782)
+++ C:/workspace/trunk/src/tcl/commands.tcl (working copy)
@@ -45,7 +45,13 @@
# If a fn is unknown to Tcl, we try to execute it as an OpenOCD command
proc unknown {args} {
if {[string length $args]>0} {
- openocd_throw $args
+ set cmd ""
+ # We need to add back quotes for arguments w/space
+ # for args without space, we can add quotes anyway
+ foreach {a} $args {
+ set cmd "$cmd \"$a\""
+ }
+ openocd_throw $cmd
}
# openocd_throw outputs while running and also sets the
# primary return value to the output of the command
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development