Re: Subtle problems with "info sharedlibrary" on MS-Windows

Simon Marchi via Gdb-patches
2021-04-10T22:56:24Z

On 2021-04-10 2:07 p.m., Eli Zaretskii via Gdb-patches wrote:
>> From: Tom Tromey <tom@tromey.com>
>> Cc: ssbssa@yahoo.de, Eli Zaretskii <eliz@gnu.org>
>> Date: Sat, 10 Apr 2021 09:03:26 -0600
>>
>> I suppose a patch similar to this is needed for gdbserver as well?
>
> Is the below okay?
>
> --- gdbserver/win32-low.cc~ 2021-03-25 03:47:10.000000000 +0200
> +++ gdbserver/win32-low.cc 2021-04-10 21:05:48.677425000 +0300
> @@ -1165,11 +1165,13 @@ load_psapi (void)
>
> #ifndef _WIN32_WCE

I see that this patch deals with _WIN32_WCE. We removed support for
WinCE in 84b300de3666 ("gdbserver: remove support for ARM/WinCE"). It
looks like I failed to remove the WinCE-related core from win32-low.cc
(I guess I didn't know about the _WIN32_WCE macro then). Would you mind
if we first removed that unncecessary code first? That would make your
patch simpler.

Simon