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: [gdb/libiberty] Improve support for cross debugging shared libraries with DOS style pathnames (from Unix hosts)


On Thu, Apr 22, 2010 at 06:24:26PM +0100, Pedro Alves wrote:
> (At some point, this patch also included a new user knob
> to make source file name comparision flavour (and
> mostly s/FILENAME_CMP/source_filename_cmp/,
> s/lbasename/source_lbasename throught the sources/debug info
> handling parts of GDB.) depend on build file system.  That's because
> often you stumble on the fact that cross debugging a Windows/SymbianOS
> binary _built_ on non-Unix, includes `\' in debug info, and a Unix
> GDB can't grok that.  I mention this, in case someone would
> suggest this new setting should be more general and cover that
> case as well.  It shouldn't: the concepts are different --- target
> paths, vs source/debug info/build paths, and you'll want to be
> able to tweak them independently.)

I agree with this patch's approach, and with this separation.  One
important way that source paths are different: a host path is clearly
either Unix or DOS.  A target path, ditto.  A source path, not so
much.  It is common to have half and half, e.g. if your toolchain was
built on Linux but ran on Windows.


-- 
Daniel Jacobowitz
CodeSourcery


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