Cygwin GDB won't start or hangs at startup

matthew patton pattonme@yahoo.com
Mon Feb 8 15:33:35 GMT 2021


On Sun, Feb 7, 2021 at 4:13 PM Jon Turney  wrote:

>> It seems that gdb wants to run 'iconv -l' to list the available encodings.
>>
>> It looks like perhaps an upstream bug that gdb outputs nothing when
>> iconv can't be found (rather than using the default encoding?).

> the lack of a backup solution is clearly an upstream bug.
> I assume iconv is usually present and only on border case the bug
> is evident.

Indeed it is.iconv is provided by glibc-common on Linux distros so it's always available. Forcing a cygwin package dependency on iconv would be easiest fix. And open an ERRATA with upstream to gracefully handle lack of the binary.  


More information about the Cygwin mailing list