On May 17, 2009, at 1:18 PM, David Brownell wrote:

Replace get_target_by_num() with get_target():

- Allows target names, not just numbers ... numbers are awkward
  for config scripts, given for example a system with several
  CPUs or flash chips.

- Slightly shrinks most call sites by removing strtoul() calls.

- Use the same error message everywhere get_target() failure is
  being reported ... helps eventual I18N and messaging docs, and
  enables some text shrinkage.

Update docs to match.

NOTE:  to encourage migration, get_target() should eventually
emit a warning when it sees a numeric target ID.

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


Committed revision 1804.

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