Why are there no debug symbols in my vmlinux when using gdb with /proc/kcore?

后端 未结 5 2052
长发绾君心
长发绾君心 2021-01-11 15:46

I\'ve configure all CONFIG_DEBUG_ related options to y,but when I try to debug the kernel,it says no debug symbols found:

gdb /usr/         


        
5条回答
  •  臣服心动
    2021-01-11 16:22

    I might be wrong, but I thought you would have to install the debuginfo package for your kernel to get symbols

提交回复
热议问题