From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7587 invoked by alias); 29 Nov 2006 19:05:25 -0000 Received: (qmail 7577 invoked by uid 22791); 29 Nov 2006 19:05:24 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 29 Nov 2006 19:05:13 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1GpUjy-0002Z5-V0; Wed, 29 Nov 2006 14:05:07 -0500 Date: Wed, 29 Nov 2006 19:05:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: Cenedese@indel.ch, gdb@sourceware.org Subject: Re: Path problem with dwarf on cygwin Message-ID: <20061129190506.GA9754@nevyn.them.org> Mail-Followup-To: Eli Zaretskii , Cenedese@indel.ch, gdb@sourceware.org References: <5.2.0.9.1.20061129160827.0189b8d0@NT_SERVER> <20061129154258.GA1999@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00237.txt.bz2 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 > > 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