From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14888 invoked by alias); 24 Mar 2009 10:04:28 -0000 Received: (qmail 14877 invoked by uid 22791); 24 Mar 2009 10:04:27 -0000 X-SWARE-Spam-Status: No, hits=3.3 required=5.0 tests=AWL,BAYES_50,BOTNET,RDNS_NONE X-Spam-Check-By: sourceware.org Received: from Unknown (HELO andromeda.onevision.de) (212.77.172.62) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 24 Mar 2009 10:04:22 +0000 Received: from [192.168.5.120] (kgi05104.onevision.de [192.168.5.120]) by andromeda.onevision.de (8.14.2/8.12.9/ROSCH/DDB) with ESMTP id n2OA4Huj030182 for ; Tue, 24 Mar 2009 11:04:17 +0100 Message-ID: <49C8B026.9090608@onevision.de> Date: Tue, 24 Mar 2009 10:04:00 -0000 From: Roland Schwingel User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: gdb Subject: Problem on cygwin with new wchar_t printing support via iconv() Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-03/txt/msg00138.txt.bz2 Hi... With the new wchar_t printing support using iconv() I got some trouble on cygwin 1.5.25. I simply freezes when I try to step into a function having a wchar_t * as parameter. I have buildt gdb both using the cygwin supplied libiconv and an own libiconv intree with gdb sources. From what I have diagnosed it runs into an endless loop in wchar_to_loop_convert() in libiconv's loop_wchar.h. The default charsets of gdb after starting it: target-charset = US_ASCII targe-wide-charset = UCS-4 When I disable iconv() usage everything is fine again, beside of the fact that I can't use the new feature. BTW: I am using the most recent CVS sources. Roland