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