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

gdb command "finish" and "return"
http://forum.andestech.com/viewtopic.php?f=16&t=550
Page 1 of 1

Author:  cindy [ Fri Mar 09, 2012 4:09 pm ]
Post subject:  gdb command "finish" and "return"

分享2個gdb command
finish: 執行完這個function後返回,如andesight裡的step return。
return: 在所在的位置不執行就跳回去,
相當於強制改pc值到回去的地方。(不會跑完剩下的code,和正常的順序不同)

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