Hi John,
it is not necessary you just need to build kernel with CONFIG_DEBUG_INFO=y option
======================= GDB ==================
cd /sys/devices/system/cpu/cpu0/cpuidle/state1
echo 1 > /sys/devices/system/cpu/cpu0/cpuidle/state1/disable
sudo JLinkGDBServer -if JTAG -endian little -device MCIMX6L8 -select USB -noir -noreset
CONFIG_DEBUG_INFO=y # this will compile in debugging symbols and info
$ gdb-[CROSS-COMPILE] /path/to/linux/build/vmlinux
Regards,
Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------