Name
logging
set logging
set logging option value
show logging
With the usual on
and off
values, set logging
enables and disables logging of GDB command output. With an option and value, the particular logging option is set to value.
Logging Options
| The file to which GDB logs command output. The default is gdb.txt. |
| If set, overwrite the log file each time. Otherwise, GDB appends to it. |
| If set, send output to the log file only. The default outputs to both the terminal and the log file. |
Get GDB Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.