Next: , Previous: , Up: Debugger Command Reference   [Contents][Index]


4.9 Interfacing to the OS (‘cd’, ‘pwd’, ‘source’, ‘shell’)

cd

Set working directory to directory for debugger and program being debugged. The change does not take effect for the program being debugged until the next time it is started.

pwd

Prints the working directory as the program sees things.

source filename

Reads each line of filename and runs that as a debugger command.

shell command string
!

If you need to execute occasional shell commands during your debugging session, there is no need to leave or suspend the GNU Make debugger; you can just use the shell command or its alias !.

Invoke a shell to execute command string.