- 论坛徽章:
- 0
|
今天gdb a.out core的时候,发现了下面的问题
1 alex@debian:~/programs$ gdb a.out core
2 GNU gdb (GDB) 7.0.1-debian
3 Copyright (C) 2009 Free Software Foundation, Inc.
4 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
5 This is free software: you are free to change and redistribute it.
6 There is NO WARRANTY, to the extent permitted by law. Type "show copying"
7 and "show warranty" for details.
8 This GDB was configured as "i486-linux-gnu".
9 For bug reporting instructions, please see:
10 <http://www.gnu.org/software/gdb/bugs/>...
11 Reading symbols from /home/alex/programs/a.out...done.
12
13 warning: Can't read pathname for load map: Input/output error.
14 Reading symbols from /lib/i686/cmov/libc.so.6...(no debugging symbols found)...done.
15 Loaded symbols for /lib/i686/cmov/libc.so.6
16 Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
17 Loaded symbols for /lib/ld-linux.so.2
18 Core was generated by `./a.out'.
19 Program terminated with signal 11, Segmentation fault.
系统使用的是最新的debian,在VBOX里面玩的
在14,16行的时候,会有no debugging symbols found 的warninig出来
我在网上看帖的时候,貌似有些同学是没有这个warning的,我就想问一下是不是哪里设置不对,还是要求使用的glibc版本必须是debug版的?
另外我发现我在bt的时候有很多函数是用?号代替的
我不知道这两个之间是不是有联系
谢谢 |
|