This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Build question
On Fri, Aug 21, 2009 at 03:56:45PM -0600, Tom Tromey wrote:
> IIUC, the problem is that gdb doesn't really differentiate between
> target file names and host file names. This matters because some things
> are searched for on the host but some on the target.
>
> If you want to always define HAVE_DOS_BASED_FILE_SYSTEM, I guess that is
> possible. It is hard to picture when that would be appropriate for CVS
> GDB, though, due to --enable-targets=all.
Joel, didn't you have a patch for this at some point? Or am I
imagining things?
I'm of the opinion that we could save ourselves a heck of a lot of
trouble by allowing both DOS and POSIX pathnames. This breaks on
POSIX systems where you have directories starting with "c:" in the
current directory, or files containing backslashes - both quite
unlikely. The only touchy bit is case sensitivity, of course...
--
Daniel Jacobowitz
CodeSourcery