On Sun, Oct 29, 2017 at 12:05 AM, Andreas Bolsch <[email protected]>
wrote:
>
> Quite trivial to fix, of course, however, point is whether to handle this
> gracefully (like ST-Link utility does) or to reject the file as invalid?
>
If the file is not following the format specification I say we should *not*
accept it. It could be useful to be able to diagnose this problem, though,
such as for example emitting a "warning: data beyond end-of-file record" or
something to that effect. But only if it's trivial to detect.
/Andreas
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel