Please refer to "7.1 Debugging a Linux Application" in the document C:\Freescale\CW_PA_v10.5.1\PA\Help\PDF\Targeting_PA_Processors.pdf to debug Linux application program.
You need to run apptrk on the target board, AppTRK program is a debug monitor that resides on the embedded system OS (along with target applications) and communicates with the CodeWarrior debugger. AppTRK acts as the interface between the debugger and the target board. CodeWarrior connects to the target board through Ethernet.
You could build AppTRK.elf with the source provide in C:\Freescale\CW_PA_v10.5.1\PA\PA_Tools of CodeWarrior installation path, then tftp the elf file to the target board.
Linux SDK also provide apptrk package, you could build rootfs image with apptrk included.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------