From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24692 invoked by alias); 4 Mar 2011 09:48:44 -0000 Received: (qmail 24679 invoked by uid 22791); 4 Mar 2011 09:48:42 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-qy0-f176.google.com (HELO mail-qy0-f176.google.com) (209.85.216.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Mar 2011 09:48:37 +0000 Received: by qyk30 with SMTP id 30so1872081qyk.0 for ; Fri, 04 Mar 2011 01:48:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.102.165 with SMTP id g37mr284099qco.120.1299232115323; Fri, 04 Mar 2011 01:48:35 -0800 (PST) Received: by 10.229.89.197 with HTTP; Fri, 4 Mar 2011 01:48:35 -0800 (PST) In-Reply-To: <83tyfkw00f.fsf@gnu.org> References: <20110303145832.GY30306@adacore.com> <83tyfkw00f.fsf@gnu.org> Date: Fri, 04 Mar 2011 09:48:00 -0000 Message-ID: Subject: Re: [patch gdb]: Fix some DOS-path related issues in gdb From: Kai Tietz To: Eli Zaretskii Cc: Joel Brobecker , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 2011-03/txt/msg00279.txt.bz2 2011/3/3 Eli Zaretskii : >> Date: Thu, 3 Mar 2011 18:58:32 +0400 >> From: Joel Brobecker >> Cc: Kai Tietz , gdb-patches@sourceware.org >> >> > I didn't know that the Windows 64bit target can use ELF debug info. >> > Can it? =A0With what toolchains? >> > >> > As for mdebugread.c, I always thought it was MIPS specific. =A0What >> > other platforms use it? >> >> These would still be pertinent in the case of cross debugging, no? >> If the files were cross-compiled on Windows, the debug info would >> contain file paths that follow the Windows convention... > > Is that use-case even practical? =A0Who would develop on Windows if they > have Linux or Irix? > > Anyway, if others don't mind to have DOS-ism in mdebugread.c and > elfread.c, I don't object. > I didn't saw here direct objections. So ok for apply? On a second thought about Pedros's switch for turning on case-(in)sensitive-ness by switch, it could be helpful. But the slash/backslash issue is something pretty incompatible. Windows host don't have issues in general (not for all API) to use slash and backslash, but on unix filesystem a backslash causes troubles. So we need here some path/filename normalization. Regards, Kai