Remove use of _WIN32_WCE
authorTom Tromey <tromey@adacore.com>
Wed, 14 Apr 2021 12:45:44 +0000 (06:45 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 14 Apr 2021 12:45:44 +0000 (06:45 -0600)
This removes the one last use of _WIN32_WCE from gdbserver.

gdbserver/ChangeLog
2021-04-14  Tom Tromey  <tromey@adacore.com>

* win32-low.cc (windows_nat::handle_load_dll): Don't check
_WIN32_WCE.

gdbserver/ChangeLog
gdbserver/win32-low.cc

index 4a9c906bed7385db1aa38adb7908ecfecf7cfd3e..08c0475e7136d1f12236b094f28f0ba4f919e23c 100644 (file)
@@ -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.
index 6502d8577324442353dc87ae9640e8ed4c427e59..39a6848307acb74b9dd2370a1216134e819694de 100644 (file)
@@ -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;