Andes Workshop

It is currently Mon Aug 26, 2019 11:59 am

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Cannot hit breakpoint
PostPosted: Mon Dec 23, 2013 5:04 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
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.html

To add debug information, we can set debug level as -g3 in AndeSight compiler Setting.
Attachment:
g3.gif
g3.gif [ 19.24 KiB | Viewed 3116 times ]


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group