| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
2.4 Logging Output
You may want to save the output of No value for GDBN commands to a file. There are several commands to control No value for GDBN's logging.
-
set logging on Enable logging.
-
set logging off -
set logging file file Change the name of the current logfile. The default logfile is ‘gdb.txt’.
-
set logging overwrite [on|off] By default, No value for GDBN will append to the logfile. Set
overwriteif you wantset logging onto overwrite the logfile instead.-
set logging redirect [on|off] By default, No value for GDBN output will go to both the terminal and the logfile. Set
redirectif you want output to go only to the log file.-
show logging Show the current values of the logging settings.
