Re: [RFC] new substitute path when loading feature

Mark Kettenis
2008-05-15T20:05:25Z

> Date: Thu, 15 May 2008 15:44:18 -0400
> From: Daniel Jacobowitz <drow@false.org>
>
> On Thu, May 15, 2008 at 03:40:26PM -0400, Aleksandar Ristovski wrote:
> > You will probably want this wrapped in an if. In fact, I don't see
> > how will it work properly with only one flag - we probably don't
> > want to do case-insensitive compare by default, but we do need to
> > compare case insensitive for dos-like file system.
>
> 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.
>
> If you think this is an important feature I can make the variable
> tri-state:
>
> set support-dos-filenames (on|off|auto)
>
> Auto would be case sensitive on POSIX hosts, on wouldn't, auto would
> be the default.

Sorry, but I think this really is a bad idea. For a native debugger
on a POSIX system I really don't want the oddities of dos-like filenames.