[gdbserver] Make mingw32ce gdbserver build again

Pedro Alves pedro_alves@portugalmail.pt
Thu Jan 31 07:03:00 GMT 2008


This patch makes gdbserver build again when configured for
arm-mingw32ce (Windows CE).

The problem is that Windows CE runtime doesn't have a
notion of errno.

This patch moves the conversion of last error to hostio error
to a target method.  The current code was moved to a seperate objfile
which is linked only on targets that use it, which are all but mingw32ce
currently.  Windows CE converts from the native Windows error.

OK ?

-- 
Pedro Alves
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wince_hostio.diff
Type: text/x-diff
Size: 15438 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20080131/f44e7012/attachment.bin>


More information about the Gdb-patches mailing list