Remove use of _WIN32_WCE

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.
This commit is contained in:
Tom Tromey 2021-04-14 06:45:44 -06:00
parent 9917b5596a
commit 38ae29156f
2 changed files with 5 additions and 2 deletions

View 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.

View 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;