From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3552 invoked by alias); 12 Jun 2011 16:51:10 -0000 Received: (qmail 3541 invoked by uid 22791); 12 Jun 2011 16:51:09 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL,TW_SM X-Spam-Check-By: sourceware.org Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 12 Jun 2011 16:50:49 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LMO00200RMOSB00@a-mtaout22.012.net.il> for gdb@sourceware.org; Sun, 12 Jun 2011 19:50:47 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.126.164.125]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LMO002WSS4LTU00@a-mtaout22.012.net.il>; Sun, 12 Jun 2011 19:50:47 +0300 (IDT) Date: Sun, 12 Jun 2011 16:51:00 -0000 From: Eli Zaretskii Subject: Re: setting a breakpoint on a dll, relative path or absolute path issue In-reply-to: <20110612075630.GA9347@host1.jankratochvil.net> To: Jan Kratochvil Cc: asmwarrior@gmail.com, keiths@redhat.com, gdb@sourceware.org, mingw-users@lists.sourceforge.net Reply-to: Eli Zaretskii Message-id: <83sjrf9eqq.fsf@gnu.org> References: <4DF31EB0.6080006@gmail.com> <4DF3A114.8040709@redhat.com> <4DF43971.8090404@gmail.com> <4DF46F19.1020009@gmail.com> <20110612075630.GA9347@host1.jankratochvil.net> 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: 2011-06/txt/msg00085.txt.bz2 > Date: Sun, 12 Jun 2011 09:56:31 +0200 > From: Jan Kratochvil > Cc: Keith Seitz , gdb@sourceware.org, MinGW Users List > > On Sun, 12 Jun 2011 09:47:37 +0200, asmwarrior wrote: > > 1, either we should store the > > "E:/code/cb/wx/wxWidgets-2.8.12/src/common/datetime.cpp" > > instead of > > "E:\code\cb\wx\wxWidgets-2.8.12\build\msw/../../src/common/datetime.cpp" > > in the symbol tables. > > This does not work, the paths are not the same: Why do you say that? > $ mkdir dir dir/subdir; echo file >dir/file; ln -s dir/subdir symlink; cat symlink/../file file > file > cat: file: No such file or directory MinGW doesn't support symlinks, so how is this relevant? What am I missing? > And one of the MinGW principles is to keep the backslashed names (\), not to > translate them to slashed ones (/) like CygWin does. Right. Which is why TRT is to modify FILENAME_CMP to compare slashes and backslashes equal.