This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problems with recent GDB Cygwin builds


Using recent Cygwin builds, either trunk or 7.3 branch,
I do get problems with iconv DLL.

  Typically, all string display fail.

Easiest way to check is 
compile new TRUNK gdb
go to build/gdb dir
prompt# ./gdb ./gdb

...
(top-gdb) print version
$1 =
(top-gdb)

while

prompt# ./gdb ./gdb

...
(top-gdb) p version
$1 = "7.2.90.20110414-cvs"
(top-gdb)

  Trying to debug this, I clearly see that iconv callsdo fail
iconv is a macro and really calls libiconv which is in cygiconv-2.dll
as $eax=-1 on return.

$ cygcheck.exe -s |grep iconv
  980k 2011/01/28 E:\cygwin-1.7\bin\cygiconv-2.dll
libiconv                       1.13.1-2            OK
libiconv2                      1.13.1-2            OK


  The problem seems to be that wchar_iterate returns 2 while
the expected result is 0 or 1.

  Mingw32 or mingw64 seem to work just fine.

Does anyone else have the same kind of troubles?

Pierre Muller.

PS: I tried to compile libiconv-1.13.1-2 but it seems to require me to
install
lots of stuff I don't have ...



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]