]> git.sur5r.net Git - openocd/commit
ARM semihosting: win32 and cygwin fixes
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Thu, 28 Jan 2010 21:05:09 +0000 (21:05 +0000)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Thu, 28 Jan 2010 21:05:09 +0000 (21:05 +0000)
commit75cfda4cd1fe057f0557bd86963a71e530edd584
treedf0ddeae48ab68e14ae60c7c67fb9c23b9294299
parent465a06dfdc6c5d4af377dac7b9d71845cb0dc034
ARM semihosting: win32 and cygwin fixes

Cygwin would fail to reopen a previously written file if the mode is
not given.

Simplified converting the open flags and made sure the win32 O_BINARY
bit is set.

Added define for systems that do not support O_BINARY.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
src/helper/replacements.h
src/target/arm_semihosting.c