No source available 0x... when trying to debug the Linux kernel [message #1522416] |
Mon, 22 December 2014 09:45 |
Christian Pinedo Messages: 1 Registered: December 2014 |
Junior Member |
|
|
Hello,
I'm trying to debug the linux kernel by following the instruction provideed in multiple websites. However, whenever I try to debug the compiled Linux kernel I always obtain a "No available source 0x.." and it is impossible to debug the code. (See the attachment)
1. I run a qemu image with the kernel a "qemu -s -S -kernel bzImage ...."
2. I launch the debug in Eclipse. I configured a "C/C++ Attach to Application" debug. The application is the vmlinux file and the remote connection is configured as gdbserver to localhost ip address and the TCP 1234.
On the other hand, I can debug the linux kernel using the gdb CLI:
# gdb vmlinux
> target remote localhost:1234
> cont
Could you give any advice to solve this? Thanks in advance,
Christian
|
|
|
Powered by
FUDForum. Page generated in 0.01957 seconds