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: [patch] IS_ABSOLUTE_PATH to handle both DOS and POSIX path st yles


On Sun, Jan 06, 2008 at 01:07:25PM -0800, Doug Evans wrote:
> Another thing that occurs to me is that I vaguely remember building
> libraries in one environment and then using the library in another.  I
> could be mistaken, it's been awhile.  Can one have a case where both
> path formats are in use simultaneously?

Yes, that's what I was going to add.  This is how I normally work.
We build toolchains using a GNU/Linux host, including libraries.  When
our customers run the IDE on Windows, they get mixed debug
information; some has Windows paths, some has POSIX paths.  I think
that a best-effort approach to work with both is more valuable than
handling the few corner cases where that breaks down (e.g. paths
containing a '\' or ':' on a POSIX system).

-- 
Daniel Jacobowitz
CodeSourcery


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