Contents|Index|Previous|Next
Your program's arguments 

The arguments to your program can be specified by the arguments of the run command. They are passed to a shell, which expands wildcard characters and performs redirection of I/O, and then to your program. Your SHELL environment variable (if it exists) specifies which shell GDB uses. If you do not define SHELL, GDB uses /bin/sh.

run with no arguments uses the same arguments used by the previous declaration of run, or with those set by the set args command.


Top|Contents|Index|Previous|Next