From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15240 invoked by alias); 12 Jun 2014 07:04:54 -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 15222 invoked by uid 89); 12 Jun 2014 07:04:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 12 Jun 2014 07:04:52 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1Wuz43-0001To-ID from Yao_Qi@mentor.com ; Thu, 12 Jun 2014 00:04:47 -0700 Received: from SVR-ORW-FEM-06.mgc.mentorg.com ([147.34.97.120]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 12 Jun 2014 00:04:47 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by SVR-ORW-FEM-06.mgc.mentorg.com (147.34.97.120) with Microsoft SMTP Server id 14.2.247.3; Thu, 12 Jun 2014 00:04:46 -0700 Message-ID: <539950A1.8020006@codesourcery.com> Date: Thu, 12 Jun 2014 07:04:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Eli Zaretskii CC: , , , Subject: Re: [ping] [PATCH] Different outputs affected by locale 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> In-Reply-To: <83zjhiyhd3.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00487.txt.bz2 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? -- Yao (齐尧)