From: Tom Tromey Date: Wed, 14 Apr 2021 12:45:44 +0000 (-0600) Subject: Remove use of _WIN32_WCE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38ae29156ff8479396d42e8aba71d6fbaabab109;p=binutils-gdb.git Remove use of _WIN32_WCE This removes the one last use of _WIN32_WCE from gdbserver. gdbserver/ChangeLog 2021-04-14 Tom Tromey * win32-low.cc (windows_nat::handle_load_dll): Don't check _WIN32_WCE. --- diff --git a/gdbserver/ChangeLog b/gdbserver/ChangeLog index 4a9c906bed7..08c0475e713 100644 --- a/gdbserver/ChangeLog +++ b/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2021-04-14 Tom Tromey + + * win32-low.cc (windows_nat::handle_load_dll): Don't check + _WIN32_WCE. + 2021-04-13 Pedro Alves * gdbreplay.c [__MINGW32CE__] (COUNTOF, errno, strerror): Remove. diff --git a/gdbserver/win32-low.cc b/gdbserver/win32-low.cc index 6502d857732..39a6848307a 100644 --- a/gdbserver/win32-low.cc +++ b/gdbserver/win32-low.cc @@ -1221,11 +1221,9 @@ windows_nat::handle_load_dll () dll_name = get_image_name (current_process_handle, event->lpImageName, event->fUnicode); -#ifndef _WIN32_WCE if (dll_name == nullptr && event->lpBaseOfDll != nullptr) dll_name = win32_add_dll (event->lpBaseOfDll); -#endif if (dll_name == nullptr) return;