I'm trying to attach the CodeWarrior debugger to an elf file loaded into RAM through u-boot on a P1021.
First I have the debugger attached using the CodeWarrior TAP JTAG:
Next I load the elf in uboot over TFTP:
go 0x1001b1c (where my __start is located at)
My program runs but the debugger never breaks :smileysad:
How can get the attached debugger to break upon entering the execution?
Thanks
Zach
已解决! 转到解答。
Hello Zachary Wilcox,
You could refer to the procedure of debugging Linux Kernel, please refer to the section "3.1 Debugging Linux Kernel at the entry point" in Debugging Linux Kernel with CodeWarrior for PA to set breakpoint at the entry point, boot your program and stop it at the entry point, then continue to debug your program before and after the MMU is enabled.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Zachary Wilcox,
You could refer to the procedure of debugging Linux Kernel, please refer to the section "3.1 Debugging Linux Kernel at the entry point" in Debugging Linux Kernel with CodeWarrior for PA to set breakpoint at the entry point, boot your program and stop it at the entry point, then continue to debug your program before and after the MMU is enabled.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------