aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdbserver/ChangeLog5
-rw-r--r--gdbserver/win32-low.cc2
2 files changed, 5 insertions, 2 deletions
diff --git a/gdbserver/ChangeLog b/gdbserver/ChangeLog
index 4a9c906..08c0475 100644
--- a/gdbserver/ChangeLog
+++ b/gdbserver/ChangeLog
@@ -1,3 +1,8 @@
+2021-04-14 Tom Tromey <tromey@adacore.com>
+
+ * win32-low.cc (windows_nat::handle_load_dll): Don't check
+ _WIN32_WCE.
+
2021-04-13 Pedro Alves <pedro@palves.net>
* gdbreplay.c [__MINGW32CE__] (COUNTOF, errno, strerror): Remove.
diff --git a/gdbserver/win32-low.cc b/gdbserver/win32-low.cc
index 6502d85..39a6848 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;