Problem on cygwin with new wchar_t printing support via iconv()

Pedro Alves pedro@codesourcery.com
Wed Mar 25 15:13:00 GMT 2009


On Wednesday 25 March 2009 08:57:18, Roland Schwingel wrote:

>  > If you have a small test case, I will try to reproduce it with a
>  > libiconv-based build here.  I suspect, though, that it is
>  > Windows-specific.

Nope, it's iconv specific.

> FAIL: gdb.base/charset.exp: print string in IBM1047

 set target-charset IBM1047
 Undefined item: "IBM1047".
 (gdb) PASS: gdb.base/charset.exp: try `set target-charset IBM1047'

These should be detected and marked "unsupported", so the next test:

 show charset
 The host character set is "ASCII".
 The target character set is "ISO-8859-1".
 The target wide character set is "UCS-4".
 (gdb) PASS: gdb.base/charset.exp: parse `show charset' after `set target-charset IBM1047'
 FAIL: gdb.base/charset.exp: check effect of `set target-charset IBM1047'

... is skipped ?

-- 
Pedro Alves



More information about the Gdb mailing list