This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] new substitute path when loading feature


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 :-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]