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

Simon Marchi via Gdb-patches
2021-04-10T23:11:31Z

On 2021-04-10 6:56 p.m., Simon Marchi via Gdb-patches wrote:
>
>
> 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

I sent a patch doing that here:

https://sourceware.org/pipermail/gdb-patches/2021-April/177658.html

Simon