gdb启动程序的三种方式run start starti


 

run -- Start debugged program.

开始执行程序,如果没有设置断点,不会停下。


start -- Start the debugged program stopping at the beginning of the main procedure.

开始执行程序,在main 函数处会停下来

 

starti -- Start the debugged program stopping at the first instruction.

开始执行程序,在第一条指令处会停下来

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM