Name
logging
Synopsis
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
-
file
The file to which GDB logs command output. The default is
gdb.txt
.- overwrite
If set, overwrite the log file each time. Otherwise GDB appends to it.
- redirect
If set, send output to the log file only. The default outputs to both the terminal and the log file.
Get Unix in a Nutshell, 4th Edition 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.