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.

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