Sergey Simonov(deleted)
|
IDE4.7 generates wrong path to shared library in Debug Configuration window?
|
Sergey Simonov(deleted)
04/22/2013 11:22 AM
post100777
|
IDE4.7 generates wrong path to shared library in Debug Configuration window?
I have a problem in IDE 4.7 (Windows host).
I debug my application that uses my shared library.
So i go to the Debug Configuration Window and add shared library and path.
In my ecxample it's "E:/ARTEX/workspace/shared/x86/so-g"
or "${workspace_loc:shared/x86/so-g}/".
But in this case gdb couldn't load symbols for my library and
i can see in gdb console that the path is wrong
(gdb)
192 sharedlibrary E:\\ARTEX\\workspace\\shared\\x86\\so-g/libshared.so
&"sharedlibrary E:\\\\ARTEX\\\\workspace\\\\shared\\\\x86\\\\so-g/libshared.so\n"
sharedlibrary E:\\ARTEX\\workspace\\shared\\x86\\so-g/libshared.so
192^done
(gdb)
193 info sharedlibrary
&"info sharedlibrary\n"
~"From To Syms Read Shared Object Library\n"
~"0xb8200000 0xb820ad60 No E:\\\\ARTEX\\\\workspace\\\\shared\\\\x86\\\\so-g/libshared.so\n"
~"0xb820b000 0xb8270c58 Yes C:/QNX650/target/qnx6/x86/lib/libcpp.so.4\n"
~"0xb0300000 0xb037e66c Yes C:/QNX650/target/qnx6/x86/lib/libc.so.3\n"
193^done
(gdb)
So i have to go to the
workspace\.metadata\.plugins\org.eclipse.debug.core\.launches
and edit launch file by hand
I found the string
"<listEntry value="E:\ARTEX\workspace\shared\x86\so-g"/>"
and chahge it to
"<listEntry value="E:/ARTEX/workspace/shared/x86/so-g"/>"
After that the debug process is ok.
So Why my IDE generates wrong path to shared library in Debug Configuration window?
Have anybody the same problem?
|
|
|