This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setting a breakpoint on a dll, relative path or absolute path issue


> Date: Sun, 12 Jun 2011 09:56:31 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: Keith Seitz <keiths@redhat.com>, gdb@sourceware.org,        MinGW Users List <mingw-users@lists.sourceforge.net>
> 
> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]