Whole document tree
4.6 Your program's input and outputBy default, the program you run under GDB does input and output to the same terminal that GDB uses. GDB switches the terminal to its own terminal modes to interact with you, but it records the terminal modes your program was using and switches back to them when you continue running your program.
You can redirect your program's input and/or output using shell
redirection with the
starts your program, diverting its output to the file `outfile'.
Another way to specify where your program should do input and output is
with the
directs that processes started with subsequent
An explicit redirection in
When you use the This document was generated by root on January, 30 2002 using texi2html |