Andes Workshop
http://forum.andestech.com/

如何往回找到第一層的function?(backtrace功能)
http://forum.andestech.com/viewtopic.php?f=23&t=613
Page 1 of 1

Author:  cindy [ Fri Aug 24, 2012 3:39 pm ]
Post subject:  如何往回找到第一層的function?(backtrace功能)

如果function是從a call到b,然後又call到c
例如a-->b-->c-->d-->e-->f
如何從f知道是從a來的?
Andesight裡有自動backtraces的功能。

請看下圖。
在Andesight裡debug時,
Andesight會自動做backtraces,
如圖上的stacks,
目前的function是從
main-->djpeg_main-->jpeg_read_scanlines
-->process_data_context_main-->decompress_onepass

Attachment:
backtrace.png
backtrace.png [ 23.81 KiB | Viewed 7573 times ]

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/