Next: Information and Settings, Previous: Evaluation/Execution, Up: Debugger Command Reference [Contents][Index]
cd
Set working directory to directory for debugger and program
being debugged. Tilde expansion, variable and filename expansion is
performed on directory. If no directory is given, we print out the
current directory which is really the same things as running
pwd
.
Note that gdb
is a little different in that it performs tilde expansion
but not filename or variable expansion and the directory argument is
not optional as it is here.
pwd
Prints the working directory as the program sees things.