On Mar 2, 2009, at 6:12 AM, Holger Schurig wrote:

I think the attached patch is OK, because it is a variable
that can take on some carefully defined values.  Documentation
should go with this variable as well...

Still this patch exports the OS to tcl. It does by itself
nothing. You still have to change all the interface tcl scripts.
In my src/target/interfaces directory this are 26 files.

/me doesn't get it why changing 27 files seems better than change
just one file.
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development


Very few of those files would need to change. Adding a global variable to the environment requires no changes from scipts unless they wish to use it for something. In this case, we would only need to change the few interface scripts that suffer from this problem.

I like the patch already presented. My only change would be to have Windows be represented as "win32".
--
Rick Altherr
[email protected]

"He said he hadn't had a byte in three days. I had a short, so I split it with him."
 -- Unsigned



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to