[英]gdb shared libraries no debugging information
i try to debug a program for find to floating point exception location on beaglebone black debian i installed libc6 and libc6-dbg but still 我尝试调试程序以查找beaglebone black debian上的浮点异常位置,但我安装了libc6和libc6-dbg,但仍然
From To Syms Read Shared Object Library
0xb6fda7c0 0xb6ff32b0 Yes (*) /lib/ld-linux.so.3
0xb6f24200 0xb6f8af00 Yes (*) /lib/arm-linux-gnueabi/libm.so.6
0xb6f06668 0xb6f17e74 Yes (*) /lib/arm-linux-gnueabi/libgcc_s.so.1
0xb6dd44a0 0xb6eca348 Yes (*) /lib/arm-linux-gnueabi/libc.so.6
(*): Shared library is missing debugging information.
seems like this. 看起来像这样。
and my debug directory is: The directory where separate debug symbols are searched for is "/usr/lib/debug" 我的调试目录是:在其中搜索单独的调试符号的目录是“ / usr / lib / debug”
floating point exception appear like this 浮点异常出现像这样
Program received signal SIGFPE, Arithmetic exception. 程序收到信号SIGFPE,算术异常。 0xb6de9a98 in raise () from /lib/arm-linux-gnueabi/libc.so.6 从/lib/arm-linux-gnueabi/libc.so.6中引发(0xb6de9a98)
You appear to be using GDB with remote debugging, possibly on an x86 host. 您似乎正在使用GDB进行远程调试,可能是在x86主机上。
i installed libc6 and libc6-dbg 我安装了libc6和libc6-dbg
You need to install libc6-dbg
for the arm
(matching your arm target libc
build). 您需要为arm
安装libc6-dbg
(与您的手臂目标libc
构建匹配)。 Installing libc6-dbg
for host does you no good. 为主机安装libc6-dbg
对您libc6-dbg
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.