summaryrefslogtreecommitdiff
path: root/src/helper/jim.h
diff options
context:
space:
mode:
authorNicolas Pitre <nico@fluxnic.net>2010-02-02 00:05:42 -0500
committerNicolas Pitre <nico@fluxnic.net>2010-02-02 00:05:42 -0500
commit3d2d5dcc9c27b84dc2e5e9ed53be0f784a450042 (patch)
tree20690f57d938cca04ec41a0125747cc69b6a110c /src/helper/jim.h
parentbef37ceba2bde6a34d003762bced007bed894bc7 (diff)
downloadopenocd_libswd-3d2d5dcc9c27b84dc2e5e9ed53be0f784a450042.tar.gz
openocd_libswd-3d2d5dcc9c27b84dc2e5e9ed53be0f784a450042.tar.bz2
openocd_libswd-3d2d5dcc9c27b84dc2e5e9ed53be0f784a450042.tar.xz
openocd_libswd-3d2d5dcc9c27b84dc2e5e9ed53be0f784a450042.zip
ARM semihosting: fix EOF handling with SYS_READ
The semihosting interface has a strange convention for read/write where the unused amount of buffer must be returned. We failed to return the total buffer size when the local read() call returned 0. Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'src/helper/jim.h')
0 files changed, 0 insertions, 0 deletions