Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » No source available 0x... when trying to debug the Linux kernel
No source available 0x... when trying to debug the Linux kernel [message #1522416] Mon, 22 December 2014 09:45
Christian Pinedo is currently offline Christian PinedoFriend
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
Previous Topic:Find Declarations behavior in #define
Next Topic:Temporary makexxxx-1.bat file not created by build process
Goto Forum:
  


Current Time: Fri Apr 19 09:53:29 GMT 2024

Powered by FUDForum. Page generated in 0.01957 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top