gdb.info: Shell Commands
Go forward to Logging output
Go backward to Quitting GDB
Go up to Invocation
Go to the top op gdb
If you need to execute occasional shell commands during your debugging
session, there is no need to leave or suspend GDB; you can just use the
`shell COMMAND STRING'
Invoke a standard shell to execute COMMAND STRING. If it exists,
the environment variable `SHELL' determines which shell to run.
Otherwise GDB uses the default shell (`/bin/sh' on Unix systems,
`COMMAND.COM' on MS-DOS, etc.).
The utility `make' is often needed in development environments. You
do not have to use the `shell' command for this purpose in GDB:
Execute the `make' program with the specified arguments. This is
equivalent to `shell make MAKE-ARGS'.
Created Mon Nov 8 17:42:35 2004 on tillpc with info_to_html version 0.9.6.