ARM Technical Support Knowledge Articles

Can I debug Linux Applications and Kernel modules using RVD?

Applies to: RealView Development Suite (RVDS)


No. We recommend the GDB debugger is used for this purpose (KGDB can be used for kernel modules). 

Linux kernel modules and applications contain relocatable sections without absolute address information. They rely on the kernel's dynamic loader to relocate image code and/or data sections to their final execution address on the target. The relocation process only takes place once the application or module is loaded by the kernel (For kernel modules this is normally initiated using the "insmod" command). Loading the image symbols in RVD will therefore not use the relocated addresses as allocated by the kernel.

Furthermore, context switching between Linux applications (all executing code from the same virtual address) will prevent RVD from knowing which process it is currently debugging.

Article last edited on: 2011-08-12 09:32:14

Rate this article

Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential