Each time you start your program with run, it inherits its
working directory from the current working directory of GDB.
The GDB working directory is initially whatever it inherited
from its parent process (typically the shell), but you can specify a new
working directory in GDB with the cd command.
The GDB working directory also serves as a default for the commands
that specify files for GDB to operate on. See section Commands to specify files.
cd directory
Set the GDB working directory to directory.
pwd
Print the GDB working directory.
This document was generated
by root on January, 30 2002
using texi2html