Previous: , Up: Controlling GDB   [Contents][Index]

22.10 Other Miscellaneous Settings

set interactive-mode

If on, forces GDB to assume that GDB was started in a terminal. In practice, this means that GDB should wait for the user to answer queries generated by commands entered at the command prompt. If off, forces GDB to operate in the opposite mode, and it uses the default answers to all queries. If auto (the default), GDB tries to determine whether its standard input is a terminal, and works in interactive-mode if it is, non-interactively otherwise.

In the vast majority of cases, the debugger should be able to guess correctly which mode should be used. But this setting can be useful in certain specific cases, such as running a MinGW GDB inside a cygwin window.

show interactive-mode

Displays whether the debugger is operating in interactive mode or not.