行号和文件位置不显示在c中的gdb中

行号和文件位置不显示在c中的gdb中,c,gdb,C,Gdb,打开CURE转储时,我在gdb中找不到文件位置和行号。 甚至源文件的路径也是正确的,并使用-g选项编译 Program terminated with signal 11, Segmentation fault. #0 0x090ae019 in VlanIsFrameTagged () Missing separate debuginfos, use: debuginfo-install glibc-2.10.1-2.i686 libgcc-4.4.0-4.i586 (gdb)

打开CURE转储时,我在gdb中找不到文件位置和行号。 甚至源文件的路径也是正确的,并使用-g选项编译

Program terminated with signal 11, Segmentation fault.

    #0  0x090ae019 in VlanIsFrameTagged ()

Missing separate debuginfos, use: debuginfo-install glibc-2.10.1-2.i686 libgcc-4.4.0-4.i586
(gdb) b
Breakpoint 1 at 0x90ae019
(gdb) bt

     #0  0x090ae019 in VlanIsFrameTagged ()
     #1  0x090aeb8a in VlanGetTagLenInFrameForLocalPort ()
     #2  0x09083947 in VlanGetTagLenInFrame ()

你没有从程序中删除调试信息吗?当运行GDB时,您使用的是正确的程序(带有debuginfo的程序)?是的,当运行GDB时,我使用的是正确的程序和coredump。coredump似乎被破坏了。您是编写了列出的函数,还是来自库?您是否运行了GDB建议运行的“debuginfo安装”命令?(另请参见:.)是否
addr2line-e/path/to/executable 0x090ae019
输出任何内容?#addr2line-e../ISS.exe 0x090adbc1>>>>>>>输出:??:0