|ARM Technical Support Knowledge Articles|
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
Did you find this article helpful? Yes No
How can we improve this article?