From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14821 invoked by alias); 12 Jun 2011 08:06:51 -0000 Received: (qmail 14813 invoked by uid 22791); 12 Jun 2011 08:06:50 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,TW_DB,TW_SM X-Spam-Check-By: sourceware.org Received: from mail-pz0-f41.google.com (HELO mail-pz0-f41.google.com) (209.85.210.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 12 Jun 2011 08:06:36 +0000 Received: by pzk4 with SMTP id 4so2104110pzk.0 for ; Sun, 12 Jun 2011 01:06:36 -0700 (PDT) Received: by 10.142.150.35 with SMTP id x35mr705726wfd.31.1307865996356; Sun, 12 Jun 2011 01:06:36 -0700 (PDT) Received: from [192.168.1.100] ([115.195.156.242]) by mx.google.com with ESMTPS id y27sm1619104wfl.0.2011.06.12.01.06.30 (version=SSLv3 cipher=OTHER); Sun, 12 Jun 2011 01:06:34 -0700 (PDT) Message-ID: <4DF4742B.7070407@gmail.com> Date: Sun, 12 Jun 2011 08:06:00 -0000 From: asmwarrior User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Jan Kratochvil CC: Keith Seitz , gdb@sourceware.org, MinGW Users List Subject: Re: setting a breakpoint on a dll, relative path or absolute path issue References: <4DF31EB0.6080006@gmail.com> <4DF3A114.8040709@redhat.com> <4DF43971.8090404@gmail.com> <4DF46F19.1020009@gmail.com> <20110612075630.GA9347@host1.jankratochvil.net> In-Reply-To: <20110612075630.GA9347@host1.jankratochvil.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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/msg00081.txt.bz2 On 2011-6-12 15:56, Jan Kratochvil wrote: > 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: > $ 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 > > And one of the MinGW principles is to keep the backslashed names (\), not to > translate them to slashed ones (/) like CygWin does. > > > Regards, > Jan > Hi, thanks for the reply. In-fact, personally, I'm not care about whether we use forward slash or backward slash. If it break something, we can consider another way. So, as you said, the proposed method 1 is not suitable, can we use or improve the method 2? asmwarrior ollydbg from Code::blocks' forum