GDB (xrefs)
|
Go to the source code of this file.
Classes | |
struct | saved_output_files |
Functions | |
static void | show_logging_filename (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) |
static void | set_logging_overwrite (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 (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) |
static void | handle_redirections (int from_tty) |
static void | set_logging_on (char *args, int from_tty) |
static void | set_logging_off (char *args, int from_tty) |
static void | set_logging_command (char *args, int from_tty) |
static void | show_logging_command (char *args, int from_tty) |
void | _initialize_cli_logging (void) |
Variables | |
static struct saved_output_files | saved_output |
static char * | saved_filename |
static char * | logging_filename |
static int | logging_overwrite |
static int | logging_redirect |
static struct ui_file * | logging_no_redirect_file |
initialize_file_ftype | _initialize_cli_logging |
void _initialize_cli_logging | ( | void | ) |
Definition at line 325 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 185 of file cli-logging.c.
References _, current_interp_set_logging(), current_uiout, discard_cleanups(), saved_output_files::err, fprintf_unfiltered(), gdb_assert, gdb_fopen(), gdb_stderr, gdb_stdlog, gdb_stdout, gdb_stdtarg, gdb_stdtargerr, saved_output_files::log, logging_filename, logging_overwrite, logging_redirect, make_cleanup_ui_file_delete(), saved_output_files::out, perror_with_name(), saved_filename, saved_output, saved_output_files::targ, saved_output_files::targerr, tee_file_new(), ui_out_is_mi_like_p(), ui_out_redirect(), and warning().
Referenced by set_logging_on().
|
static |
Definition at line 153 of file cli-logging.c.
References current_interp_set_logging(), current_uiout, saved_output_files::err, gdb_stderr, gdb_stdlog, gdb_stdout, gdb_stdtarg, gdb_stdtargerr, saved_output_files::log, saved_output_files::out, saved_output, saved_output_files::targ, saved_output_files::targerr, ui_file_delete(), and ui_out_redirect().
Referenced by set_logging_off().
|
static |
Definition at line 280 of file cli-logging.c.
References _, and printf_unfiltered().
Referenced by _initialize_cli_logging().
|
static |
Definition at line 267 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 254 of file cli-logging.c.
References handle_redirections(), logging_filename, and xfree().
Referenced by _initialize_cli_logging().
|
static |
Definition at line 50 of file cli-logging.c.
References _, saved_filename, and warning().
Referenced by _initialize_cli_logging().
|
static |
Definition at line 77 of file cli-logging.c.
References _, current_interp_set_logging(), current_uiout, do_cleanups(), fprintf_unfiltered(), gdb_assert, gdb_stderr, gdb_stdlog, gdb_stdout, gdb_stdtarg, gdb_stdtargerr, logging_filename, logging_no_redirect_file, logging_redirect, make_cleanup(), make_cleanup_ui_file_delete(), null_cleanup(), saved_output_files::out, perror_with_name(), saved_filename, saved_output, tee_file_new(), ui_out_redirect(), and warning().
Referenced by _initialize_cli_logging().
|
static |
Definition at line 291 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 40 of file cli-logging.c.
References _, and fprintf_filtered().
Referenced by _initialize_cli_logging().
|
static |
Definition at line 58 of file cli-logging.c.
References _, and fprintf_filtered().
Referenced by _initialize_cli_logging().
|
static |
Definition at line 145 of file cli-logging.c.
References _, and fprintf_filtered().
Referenced by _initialize_cli_logging().
initialize_file_ftype _initialize_cli_logging |
|
static |
Definition at line 38 of file cli-logging.c.
Referenced by _initialize_cli_logging(), handle_redirections(), set_logging_on(), set_logging_redirect(), and show_logging_command().
|
static |
Definition at line 74 of file cli-logging.c.
Referenced by set_logging_redirect().
|
static |
Definition at line 47 of file cli-logging.c.
Referenced by _initialize_cli_logging(), handle_redirections(), and show_logging_command().
|
static |
Definition at line 68 of file cli-logging.c.
Referenced by _initialize_cli_logging(), handle_redirections(), set_logging_redirect(), and show_logging_command().
|
static |
Definition at line 36 of file cli-logging.c.
Referenced by handle_redirections(), set_logging_off(), set_logging_overwrite(), set_logging_redirect(), and show_logging_command().
|
static |
Definition at line 35 of file cli-logging.c.
Referenced by handle_redirections(), pop_output_files(), and set_logging_redirect().