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


You are correct. When I fixed the bounds checking for the old and older target syntaxes, it fires when the variant is missing. I'll see about making a fix tonight. Note that without the fixes in svn head, omitting the variant would cause a buffer overrun.

--
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