Cygwin GDB won't start or hangs at startup
Marco Atzeri
marco.atzeri@gmail.com
Mon Feb 8 17:31:07 GMT 2021
On 08.02.2021 16:33, matthew patton wrote:
> 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.
this is already implemented
https://cygwin.com/packages/summary/gdb.html
gdb is now pulling libiconv
> And open an ERRATA with upstream to gracefully handle lack of the binary.
Regards
Marco
More information about the Cygwin
mailing list