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


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


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