|
GDB (xrefs)
|
Go to the source code of this file.
Functions | |
| static void | show_logging_filename (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) |
| static void | maybe_warn_already_logging () |
| static void | set_logging_overwrite (const char *args, int from_tty, struct cmd_list_element *c) |
| static void | show_logging_overwrite (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) |
| static void | set_logging_redirect (const char *args, int from_tty, struct cmd_list_element *c) |
| static void | show_logging_redirect (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) |
| static void | pop_output_files (void) |
| ui_file * | make_logging_output (ui_file *curr_output, ui_file_up logfile, bool logging_redirect) |
| static void | handle_redirections (int from_tty) |
| static void | set_logging_on (const char *args, int from_tty) |
| static void | set_logging_off (const char *args, int from_tty) |
| static void | set_logging_command (const char *args, int from_tty) |
| static void | show_logging_command (const char *args, int from_tty) |
| void | _initialize_cli_logging (void) |
Variables | |
| static char * | saved_filename |
| static char * | logging_filename |
| static int | logging_overwrite |
| static int | logging_redirect |
| void _initialize_cli_logging | ( | void | ) |
Definition at line 209 of file cli-logging.c.
References _, add_cmd(), add_prefix_cmd(), add_setshow_boolean_cmd(), add_setshow_filename_cmd(), class_support, logging_filename, logging_overwrite, logging_redirect, set_logging_command(), set_logging_off(), set_logging_on(), set_logging_overwrite(), set_logging_redirect(), setlist, show_logging_command(), show_logging_filename(), show_logging_overwrite(), show_logging_redirect(), and showlist.
|
static |
Definition at line 111 of file cli-logging.c.
References _, current_interp_set_logging(), current_uiout, fprintf_unfiltered(), gdb_stdout, cleanup_check::log(), logging_filename, logging_overwrite, logging_redirect, perror_with_name(), and saved_filename.
Referenced by set_logging_on().
| ui_file* make_logging_output | ( | ui_file * | curr_output, |
| ui_file_up | logfile, | ||
| bool | logging_redirect | ||
| ) |
Definition at line 94 of file cli-logging.c.
References logging_redirect.
Referenced by cli_interp_base::set_logging(), and mi_interp::set_logging().
|
static |
Definition at line 39 of file cli-logging.c.
References _, saved_filename, and warning().
Referenced by set_logging_overwrite(), and set_logging_redirect().
|
static |
Definition at line 82 of file cli-logging.c.
References current_interp_set_logging(), and current_uiout.
Referenced by set_logging_off().
|
static |
Definition at line 177 of file cli-logging.c.
References _, and printf_unfiltered().
Referenced by _initialize_cli_logging().
|
static |
Definition at line 164 of file cli-logging.c.
References fprintf_unfiltered(), gdb_stdout, pop_output_files(), saved_filename, and xfree().
Referenced by _initialize_cli_logging().
|
static |
Definition at line 151 of file cli-logging.c.
References handle_redirections(), logging_filename, and xfree().
Referenced by _initialize_cli_logging().
|
static |
Definition at line 47 of file cli-logging.c.
References maybe_warn_already_logging().
Referenced by _initialize_cli_logging().
|
static |
Definition at line 67 of file cli-logging.c.
References maybe_warn_already_logging().
Referenced by _initialize_cli_logging().
|
static |
Definition at line 188 of file cli-logging.c.
References _, logging_filename, logging_overwrite, logging_redirect, printf_unfiltered(), and saved_filename.
Referenced by _initialize_cli_logging().
|
static |
Definition at line 29 of file cli-logging.c.
References _, and fprintf_filtered().
Referenced by _initialize_cli_logging().
|
static |
Definition at line 54 of file cli-logging.c.
References _, and fprintf_filtered().
Referenced by _initialize_cli_logging().
|
static |
Definition at line 74 of file cli-logging.c.
References _, and fprintf_filtered().
Referenced by _initialize_cli_logging().
|
static |
Definition at line 27 of file cli-logging.c.
Referenced by _initialize_cli_logging(), handle_redirections(), set_logging_on(), and show_logging_command().
|
static |
Definition at line 36 of file cli-logging.c.
Referenced by _initialize_cli_logging(), handle_redirections(), and show_logging_command().
|
static |
Definition at line 64 of file cli-logging.c.
Referenced by _initialize_cli_logging(), current_interp_set_logging(), handle_redirections(), make_logging_output(), cli_interp_base::set_logging(), mi_interp::set_logging(), and show_logging_command().
|
static |
Definition at line 25 of file cli-logging.c.
Referenced by handle_redirections(), maybe_warn_already_logging(), set_logging_off(), and show_logging_command().
1.8.14