aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2021-04-14 06:45:44 -0600
committerTom Tromey <tromey@adacore.com>2021-04-14 06:45:44 -0600
commit38ae29156ff8479396d42e8aba71d6fbaabab109 (patch)
treee65095afbd11625dce174a3ed4312956eb0d6a5e
parent9917b5596a372317c9708c7166cff9dd69b62d5e (diff)
downloadgdb-38ae29156ff8479396d42e8aba71d6fbaabab109.zip
gdb-38ae29156ff8479396d42e8aba71d6fbaabab109.tar.gz
gdb-38ae29156ff8479396d42e8aba71d6fbaabab109.tar.bz2
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.
-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;