GDB调试有参数的程序 进入gdb后: file ./bin/kepler_tunnel:加载二进制程序set args config/pbt.xml 200:设置程序参数 config/pbt.xml和200b main:打断点r :运行键入:ctrl+X和ctrl+A,进入GUI程序字符界面。