On Nov 3, 2008, at 6:20 AM, Spen wrote:

Hi,

I still use the old syntax in a lot of scripts, eg.
target cortex_m3 little 0

just noticed that a error is produced on svn head
wrong # args: should be "target [OLDSYNTAX] ?TYPE? ?ENDIAN? ?CHAIN- POSITION?
?VARIANT?"

this is infact incorrect as the old syntax only had 3 required args - the
variant was optional.

Cheers
Spen

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


The attached patch makes the target syntax parsing much more robust and makes the variant optional again.

Attachment: openocd-target-syntax-handling.patch
Description: Binary data



--
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."
 -- Slashdot signature


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

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to