Andes Workshop

It is currently Fri Apr 19, 2024 1:05 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: debug出現"no source available at 0x1a0"message
PostPosted: Wed Dec 14, 2011 6:06 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
Andesight 每 trace 一步會找它對應的 source code ,
如果找不到就會顯示"no source available at 0x1a0"這一類的訊息,
不影響正確性。

找不到source code可能是因為沒有加入debug information,
(compile時沒加上-g或-g3的flag)

另一種可能是引用的library沒有提供source code。

或者是因為source code的路徑找不到。
如果是這個原因,可以將gdb改成以檔名尋找檔案,設定如下
Andesight工具列-->Window-->Preferences
Attachment:
p0.gif
p0.gif [ 4.88 KiB | Viewed 7812 times ]


然後選擇如下圖,將Absolute Path的勾選取消後,重新編譯再試試。
Attachment:
p1.gif
p1.gif [ 24.11 KiB | Viewed 7812 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 16 guests


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group