This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Path problem with dwarf on cygwin
On Wed, Nov 29, 2006 at 08:39:11PM +0200, Eli Zaretskii wrote:
> > Date: Wed, 29 Nov 2006 10:42:58 -0500
> > From: Daniel Jacobowitz <drow@false.org>
> > Cc: gdb@sourceware.org
> >
> > I said a couple of weeks ago that I had a really nasty patch for this
> > problem, but never got around to cleaning it up. You've built a Cygwin
> > GDB, therefore when it needs to construct a path, it uses forward
> > slashes. Yet your debugging info matches what you gave the compiler,
> > i.e. has backwards slashes. The debugger needs to be taught smarter
> > filename comparison.
>
> Why ``nasty''? Isn't it enough to modify the FILENAME_CMP macro, and
> be done with that? If not, what else need to be changed, and why?
I didn't say that the proper solution was nasty, just that my first
version of the code was :-) It won't be hard to clean up, if I can
find the time.
--
Daniel Jacobowitz
CodeSourcery