On Thursday 29 October 2009, Jerry Ling wrote:
> Thanks for improving the way to load debug handler...
> 
> However, I got a problem while doing the bin2char conversion under Cygwin
>    $ bin2char xscale_debug_handler < debug_handler.bin > xscale_debug.h
> 
> It treats the character "0x1A" as the EOF. So it stopped converting at 
> offset 0x22 of debug_handler.bin.
> Anyway, it works perfectly and doesn't make such mistake under my Linux 
> environment.
> 
> Is there a solution for Cygwin?

Sure.  Modify "bin2char" so it doesn't use stdin, but uses
a file name.  Open it in "binary" mode, or whatever Windows
needs.  Change how this is invoked, and how the setup.tcl
stuff is done too.

Sound right?

- Dave

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

Reply via email to