diff options
Diffstat (limited to 'gdbserver/win32-low.cc')
-rw-r--r-- | gdbserver/win32-low.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gdbserver/win32-low.cc b/gdbserver/win32-low.cc index 84223e1..727bc9c 100644 --- a/gdbserver/win32-low.cc +++ b/gdbserver/win32-low.cc @@ -1784,8 +1784,8 @@ win32_error_to_fileio_error (DWORD err) return FILEIO_EUNKNOWN; } -static void -wince_hostio_last_error (char *buf) +void +win32_process_target::hostio_last_error (char *buf) { DWORD winerr = GetLastError (); int fileio_err = win32_error_to_fileio_error (winerr); @@ -1844,11 +1844,6 @@ win32_sw_breakpoint_from_kind (int kind, int *size) static win32_process_target the_win32_target; static process_stratum_target win32_target_ops = { -#ifdef _WIN32_WCE - wince_hostio_last_error, -#else - hostio_last_error_from_errno, -#endif NULL, /* qxfer_osdata */ win32_xfer_siginfo, NULL, /* supports_non_stop */ |