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
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to