From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20894 invoked by alias); 11 Apr 2009 17:53:07 -0000 Received: (qmail 20884 invoked by uid 22791); 11 Apr 2009 17:53:06 -0000 X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_JMF_BL,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout3.012.net.il (HELO mtaout3.012.net.il) (84.95.2.7) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 11 Apr 2009 17:53:00 +0000 Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KHY00B006WQEU00@i_mtaout3.012.net.il> for gdb-patches@sources.redhat.com; Sat, 11 Apr 2009 20:52:57 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.240.185]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KHY0010X7064O90@i_mtaout3.012.net.il>; Sat, 11 Apr 2009 20:52:55 +0300 (IDT) Date: Sat, 11 Apr 2009 17:53:00 -0000 From: Eli Zaretskii Subject: Configuring gdb_wchar.h To: gdb-patches@sources.redhat.com Cc: Tom Tromey Reply-to: Eli Zaretskii Message-id: <8363hboz5x.fsf@gnu.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-04/txt/msg00211.txt.bz2 gdb_wchar.h and the corresponding configury test are too naive: they assume that if wchar.h exists, the full array of wide-character functions, such as wcslen, iswprint, iswdigit, and btowc, also exist. It needs to test for the individual functions as well, or at least for some of them. The actual case in point is the DJGPP build. The DJGPP library has wchar.h and there's a port of libiconv, but the functions gdb_wchar.h expects for wide character support are not there.