This is my first post to stackoverflow so apologise for any error :). I'm trying to debug a Linux Kernel using Eclipse/CDT by following the information provideed in multiple websites. However, everytime I try to debug the kernel I get a “No source available 0x....." message. (see the attached screenshot).
I run the linux kernel with a qemu virtualmachine "qemu -s -S -kernel bzImage ..."
I try to run the debug from Eclipse/CDT. For that, I configured a "C/C++ Attach to Application" debug. The application is the vmlinux file. The remote configuration of type gdbserver is configured as localhost:1234.
Altough I can't debug with Eclipse/CDT, I can debug the kernel with gdb CLI:
# gdb vmlinux
> remote target localhost:1234
> cont
Information about versions:
- Linux Mint 17 KDE
- Eclipse 4.4.1
- CDT 8.5.0
- qemu 2.0.0+dfsg-2ubuntu1.9
- gcc 4.8.2-1ubuntu6
- gdb 7.7.1-0ubuntu5~14.04.2
CONFIG_KGDB
when build the linux kernel image – Santosh A