From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9379 invoked by alias); 12 Jun 2014 17:03:16 -0000 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 Received: (qmail 9361 invoked by uid 89); 12 Jun 2014 17:03:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout20.012.net.il Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 12 Jun 2014 17:03:12 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N7200J00F0CWD00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Thu, 12 Jun 2014 20:03:10 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N7200J63FD9MV70@a-mtaout20.012.net.il>; Thu, 12 Jun 2014 20:03:10 +0300 (IDT) Date: Thu, 12 Jun 2014 17:03:00 -0000 From: Eli Zaretskii Subject: Re: [ping] [PATCH] Different outputs affected by locale In-reply-to: <539950A1.8020006@codesourcery.com> To: Yao Qi Cc: palves@redhat.com, tromey@redhat.com, brobecker@adacore.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83wqcmxdq7.fsf@gnu.org> References: <1401192650-29688-1-git-send-email-yao@codesourcery.com> <538EAEE5.2080708@codesourcery.com> <20140604124708.GR4289@adacore.com> <538F1CC3.9090605@codesourcery.com> <87oay8a0t6.fsf@fleche.redhat.com> <538F803A.9020007@redhat.com> <538FE412.1050806@codesourcery.com> <53903119.6000204@redhat.com> <53903EE5.8090107@codesourcery.com> <539042A2.4050409@redhat.com> <539571C6.40605@codesourcery.com> <53958862.5020106@redhat.com> <5397BCEC.8080300@codesourcery.com> <838up3za8t.fsf@gnu.org> <5398F85F.1040401@codesourcery.com> <83zjhiyhd3.fsf@gnu.org> <539950A1.8020006@codesourcery.com> X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00509.txt.bz2 > Date: Thu, 12 Jun 2014 15:02:57 +0800 > From: Yao Qi > CC: , , , > > > On 06/12/2014 10:46 AM, Eli Zaretskii wrote: > > So you need _any_ character for which iswprint returns zero? If so, > > does the character have to be a single byte? > > Find a character for which iswprint returns zero isn't the point, IMO. > The problem is wchar.exp expects "\242" but GDB prints cent sign on > mingw. Instead of changing to another character, isn't better to match > both (\242 and cent sign) in regexp pattern? Maybe. Can you tell what is the purpose of the test? (Sorry, I know almost nothing about the test suite.)