2011-03-30 115 views

回答

1

在gdb提示,中庸之道型

运行-d -u根-m 50 -c 1024 -p 11051

1

Alternativerly,您还可以使用args参数:

(gdb) help set args 
Set argument list to give program being debugged when it is started. 
Follow this command with any number of args, to be passed to the program. 

所以你的情况:

set args -d -u root -m 50 -c 1024 -p 11051 
run (or) start 
相关问题