From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5570 invoked by alias); 12 Jun 2011 16:22:37 -0000 Received: (qmail 5560 invoked by uid 22791); 12 Jun 2011 16:22:36 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,TW_SM X-Spam-Check-By: sourceware.org Received: from ridgefield.networkredux.net (HELO mail.siebunlimited.com) (74.63.15.19) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 12 Jun 2011 16:22:19 +0000 Received: by mail.siebunlimited.com (Postfix, from userid 5001) id C073D11D00F7; Sun, 12 Jun 2011 16:22:18 +0000 (UTC) Received: from [127.0.0.1] (d60-65-38-233.col.wideopenwest.com [65.60.233.38]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: earnie@progw.com) by mail.siebunlimited.com (Postfix) with ESMTPSA id A8A1D11D00F7; Sun, 12 Jun 2011 16:22:17 +0000 (UTC) Message-ID: <4DF4E7B5.9020102@users.sourceforge.net> Date: Sun, 12 Jun 2011 16:22:00 -0000 From: Earnie Reply-To: Please only reply to User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 MIME-Version: 1.0 To: MinGW Users List CC: asmwarrior , Jan Kratochvil , Keith Seitz , gdb@sourceware.org Subject: Re: [Mingw-users] 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> <4DF4742B.7070407@gmail.com> In-Reply-To: <4DF4742B.7070407@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 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/msg00084.txt.bz2 asmwarrior wrote: > 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. >> >> This isn't exactly true. We use / instead of \ except for when using CreateProcess since the API will understand them and it is more work to use \ instead of /. The process actually uses both \ and / as equals. -- Earnie -- http://www.for-my-kids.com