DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(gdb) Working Directory

Info Catalog (gdb) Environment (gdb) Running (gdb) Input/Output
 
 Your program's working directory
 ================================
 
    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.   Commands to specify
 files Files.
 
 `cd DIRECTORY'
      Set the GDB working directory to DIRECTORY.
 
 `pwd'
      Print the GDB working directory.
 
Info Catalog (gdb) Environment (gdb) Running (gdb) Input/Output
automatically generated byinfo2html