From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29026 invoked by alias); 15 May 2008 20:12:17 -0000 Received: (qmail 29018 invoked by uid 22791); 15 May 2008 20:12:17 -0000 X-Spam-Check-By: sourceware.org Received: from qnxmail.qnx.com (HELO nimbus.ott.qnx.com) (209.226.137.76) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 15 May 2008 20:11:59 +0000 Received: from [10.42.100.129] (min.ott.qnx.com [10.42.100.129]) by nimbus.ott.qnx.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id K6WTN0RT; Thu, 15 May 2008 16:11:57 -0400 Message-ID: <482C990A.60500@qnx.com> Date: Fri, 16 May 2008 15:27:00 -0000 From: Aleksandar Ristovski User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 Newsgroups: gmane.comp.gdb.patches CC: Daniel Jacobowitz , gdb-patches@sources.redhat.com, Eli Zaretskii Subject: Re: [RFC] new substitute path when loading feature References: <20080513190818.GA13776@caradoc.them.org> <4829E7DA.3010606@qnx.com> <20080513192041.GA14593@caradoc.them.org> <20080515160551.GA24101@caradoc.them.org> <20080515191642.GA15892@caradoc.them.org> <20080515193513.GA17156@caradoc.them.org> <482C91AA.30903@qnx.com> <20080515194418.GA17618@caradoc.them.org> In-Reply-To: <20080515194418.GA17618@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2008-05/txt/msg00493.txt.bz2 Daniel Jacobowitz wrote: > > Is this really necessary? As long as everything gives GDB the same > capitalization of the file (including debug info and any front end), > then we don't need to be case insensitive. Yes, but it's all too easy to have mixed capitalizations (in general case) when building on win32... not that I think it is a common case, but still. > > If you think this is an important feature I can make the variable > tri-state: Well, it's a part of the same issue. > > set support-dos-filenames (on|off|auto) > > Auto would be case sensitive on POSIX hosts, on wouldn't, auto would > be the default. > I think that would work. @Eli: Your 'if' wouldn't work as expected for common posix-style paths (it would default to case insensitive comparison which is unacceptable for posix paths) However, I'm not sure why you didn't like my original rewrite at readin... all the user would have to do for mixed path binaries is: set substitute-path C: / (which would make iberty's IS_ABSOLUTE_PATH work on posix-ly configured gdbs) and this could be done by default in main :-) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29330 invoked by alias); 15 May 2008 20:12:30 -0000 Received: (qmail 29320 invoked by uid 22791); 15 May 2008 20:12:30 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 15 May 2008 20:12:10 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Jwjo5-0008Cv-Ez for gdb-patches@sources.redhat.com; Thu, 15 May 2008 20:12:05 +0000 Received: from mobius.qnx.com ([209.226.137.108]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 May 2008 20:12:05 +0000 Received: from aristovski by mobius.qnx.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 May 2008 20:12:05 +0000 To: gdb-patches@sources.redhat.com From: Aleksandar Ristovski Subject: Re: [RFC] new substitute path when loading feature Date: Fri, 16 May 2008 15:27:00 -0000 Message-ID: <482C990A.60500@qnx.com> References: <20080513190818.GA13776@caradoc.them.org> <4829E7DA.3010606@qnx.com> <20080513192041.GA14593@caradoc.them.org> <20080515160551.GA24101@caradoc.them.org> <20080515191642.GA15892@caradoc.them.org> <20080515193513.GA17156@caradoc.them.org> <482C91AA.30903@qnx.com> <20080515194418.GA17618@caradoc.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Daniel Jacobowitz , gdb-patches@sources.redhat.com, Eli Zaretskii User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: <20080515194418.GA17618@caradoc.them.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: 2008-05/txt/msg00494.txt.bz2 Message-ID: <20080516152700.GKq26M3i5DctAkS2CdmBfgZL6b4uMxTR6oqnWn-qXKs@z> Daniel Jacobowitz wrote: > > Is this really necessary? As long as everything gives GDB the same > capitalization of the file (including debug info and any front end), > then we don't need to be case insensitive. Yes, but it's all too easy to have mixed capitalizations (in general case) when building on win32... not that I think it is a common case, but still. > > If you think this is an important feature I can make the variable > tri-state: Well, it's a part of the same issue. > > set support-dos-filenames (on|off|auto) > > Auto would be case sensitive on POSIX hosts, on wouldn't, auto would > be the default. > I think that would work. @Eli: Your 'if' wouldn't work as expected for common posix-style paths (it would default to case insensitive comparison which is unacceptable for posix paths) However, I'm not sure why you didn't like my original rewrite at readin... all the user would have to do for mixed path binaries is: set substitute-path C: / (which would make iberty's IS_ABSOLUTE_PATH work on posix-ly configured gdbs) and this could be done by default in main :-)