From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29805 invoked by alias); 28 Nov 2014 03:07:10 -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 29700 invoked by uid 89); 28 Nov 2014 03:07:09 -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,RCVD_IN_DNSWL_NONE 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; Fri, 28 Nov 2014 03:07:07 +0000 Received: from svr-orw-fem-04.mgc.mentorg.com ([147.34.97.41]) by relay1.mentorg.com with esmtp id 1XuBtg-0002QC-1Z from Yao_Qi@mentor.com ; Thu, 27 Nov 2014 19:07:04 -0800 Received: from GreenOnly (147.34.91.1) by svr-orw-fem-04.mgc.mentorg.com (147.34.97.41) with Microsoft SMTP Server id 14.3.181.6; Thu, 27 Nov 2014 19:07:03 -0800 From: Yao Qi To: Joel Brobecker CC: Subject: Re: [PATCH 6/7] Use canonicalize_file_name unconditionally References: <1416980800-21408-1-git-send-email-yao@codesourcery.com> <1416980800-21408-7-git-send-email-yao@codesourcery.com> <20141127073600.GA5042@adacore.com> Date: Fri, 28 Nov 2014 03:07:00 -0000 In-Reply-To: <20141127073600.GA5042@adacore.com> (Joel Brobecker's message of "Thu, 27 Nov 2014 11:36:00 +0400") Message-ID: <87r3woc9aw.fsf@codesourcery.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00694.txt.bz2 Joel Brobecker writes: > I guess one step at a time, but why not use canonicalize_file_name > on Windows hosts as well? My question is not necessarily to suggest > that we should be doing it, but rather whether you know of a reason > why we should not be doing it... Hi Joel, The code handling Windows host was added by your patch below [RFA/commit] Improve gdb_realpath for Windows hosts https://sourceware.org/ml/gdb-patches/2011-12/msg00785.html in order to handle a weird case that compiler produces some debug info where the path has double backslashes. I am not sure gnulib realpath is able to handle such case, so I leave the code for Windows host there. --=20 Yao (=E9=BD=90=E5=B0=A7)