If CPU cannot stop at breakpoint, one cause is the elf file doesn't contain debug information.
In gdb traces, it shows the following content.
498,941 18^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending=\
"MAIN.c:20",times="0",original-location="MAIN.c:20"}
The
"pending" in breakpoint means the address is not resolved.
The reference information:
https://sourceware.org/gdb/onlinedocs/g ... reaks.htmlTo add debug information, we can set debug level as -g3 in AndeSight compiler Setting.
Attachment:
g3.gif [ 19.24 KiB | Viewed 6994 times ]