Committed.
Remove unecessary(and poptentially harmful?) "" around arguments
passed in to "eval" in command.c
### Eclipse Workspace Patch 1.0
#P openocd
Index: src/helper/command.c
===================================================================
--- src/helper/command.c (revision 1806)
+++ src/helper/command.c (working copy)
@@ -221,7 +221,7 @@
free((void *)full_name);
/* we now need to add an overrideable proc */
- const char *override_name=alloc_printf("proc %s%s%s {args} {if
{[catch {eval \"ocd_%s%s%s $args\"}]==0} {return \"\"} else { return
-code error }", t1, t2, t3, t1, t2, t3);
+ const char *override_name=alloc_printf("proc %s%s%s {args} {if
{[catch {eval ocd_%s%s%s $args}]==0} {return \"\"} else { return -code
error }", t1, t2, t3, t1, t2, t3);
Jim_Eval_Named(interp, override_name, __THIS__FILE__, __LINE__ );
free((void *)override_name);
--
Øyvind Harboe
Embedded software and hardware consulting services
http://consulting.zylin.com
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development