From 38ae29156ff8479396d42e8aba71d6fbaabab109 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 14 Apr 2021 06:45:44 -0600 Subject: [PATCH] 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. --- gdbserver/ChangeLog | 5 +++++ gdbserver/win32-low.cc | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) 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; -- 2.30.2