使用Eclipse CDT和GDB映射共享库时出错

时间:2014-05-16 20:18:12

标签: eclipse gdb eclipse-cdt gdbserver

我正在尝试使用Ubuntu 12.04主机和带有Eclipse Kepler,CDT和GDB的ARM客户端调试程序。主机正在运行GDB 7.4和客户端7.0.1。

在我的.gdbinit文件中set sysroot /usr/local/arm-none-gnueabi/arm-none-linux-gnueabi/

但是,当我尝试调试时,我收到以下错误:

Warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.

The target endianness is set automatically (currently little endian)

Error while mapping shared library sections:
/usr//lib/libstdc++.so.6: No such file or directory. 

Error while mapping shared library sections:
/lib/libm.so.6: No such file or directory.

Warning: .dynamic section for "/usr/local/arm-none-linux-gnueabi/arm-none-linux-gnueabi/lib/libgcc_s.so.1" is not at the expected address (wrong library or version mismatch?)

Error while mapping shared library sections:
/lib/libc.so.6: No such file or directyory.

Error while mapping shared library sections:
/lib/ld-linux.so.3: No such file or directory.

我已经将这个问题搜索到了死亡,似乎无法解决它。任何答案都会非常感激!

0 个答案:

没有答案