+ -
当前位置:首页 → 问答吧 → gdb调试世纪难题,call_gmon_start () 报段出错

gdb调试世纪难题,call_gmon_start () 报段出错

时间:2011-08-15

来源:互联网

root@ubuntu:/arm# arm-none-linux-gnueabi-gdb .bencode.so core
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi"...
Core was generated by `.bencode.so'.
Program terminated with signal 11, Segmentation fault.
[New process 1598]
#0 0x00000000 in call_gmon_start ()
(gdb) Quit

还没进入主函数,GDB就挂了,GCC编译加了-G,没有用优化和-PG。

作者: zhoudawhy   发布时间: 2011-08-15

不懂,没用过gdb

作者: jackyjkchen   发布时间: 2011-08-15

我靠,这么难,估计没人能回答

作者: c_s_d_n_d_s_p   发布时间: 2011-08-15

顶顶更健康

作者: c_s_d_n_d_s_p   发布时间: 2011-08-15