getargs

Format: getargs

Shows the current arguments that will be passed the next time the program runs. Both getargs and setargs are only applicable to the debugging of programs which take arguments in the traditional main(argc,argv) sense. The setargs command sets the program arguments to be used. The getargs command prints the current program arguments. The following example shows the use of setargs, getargs, and r:
MULTI> setargs abc def ghi
MULTI> getargs
abc def ghi
MULTI> r
running 'a.out abc def ghi'
MULTI>

See also setargs.


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.