GDB (xrefs)
|
#include "defs.h"
#include "gdbcmd.h"
#include "ui-out.h"
#include "interps.h"
#include "cli/cli-style.h"
#include "cli/cli-decode.h"
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 | show_logging_debug_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 (const char *args, int from_tty) |
static void | set_logging_off (const char *args, int from_tty) |
static void | set_logging_enabled (const char *args, int from_tty, struct cmd_list_element *c) |
static void | show_logging_enabled (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) |
void | _initialize_cli_logging () |
Variables | |
static std::string | saved_filename |
static std::string | logging_filename = "gdb.txt" |
static bool | logging_overwrite |
static bool | logging_redirect |
static bool | debug_redirect |
static bool | logging_enabled |
void _initialize_cli_logging | ( | ) |
Definition at line 208 of file cli-logging.c.
Referenced by initialize_all_files().
|
static |
Definition at line 113 of file cli-logging.c.
References current_interp_set_logging(), current_uiout, debug_redirect, gdb_printf(), gdb_stdout, logging_filename, logging_overwrite, logging_redirect, and saved_filename.
Referenced by set_logging_on().
|
static |
Definition at line 41 of file cli-logging.c.
References saved_filename.
Referenced by set_logging_overwrite(), and set_logging_redirect().
|
static |
Definition at line 102 of file cli-logging.c.
References current_interp_set_logging(), and current_uiout.
Referenced by set_logging_off().
|
static |
Definition at line 187 of file cli-logging.c.
References logging_enabled, set_logging_off(), and set_logging_on().
|
static |
Definition at line 172 of file cli-logging.c.
References gdb_printf(), pop_output_files(), and saved_filename.
Referenced by set_logging_enabled().
|
static |
Definition at line 161 of file cli-logging.c.
References handle_redirections(), and logging_filename.
Referenced by set_logging_enabled().
|
static |
Definition at line 49 of file cli-logging.c.
References maybe_warn_already_logging().
|
static |
Definition at line 70 of file cli-logging.c.
References maybe_warn_already_logging().
|
static |
Definition at line 89 of file cli-logging.c.
References debug_redirect, and gdb_printf().
|
static |
Definition at line 197 of file cli-logging.c.
References gdb_printf(), and logging_enabled.
|
static |
Definition at line 31 of file cli-logging.c.
References file_name_style, gdb_printf(), cli_style_option::style(), and styled_string().
|
static |
Definition at line 56 of file cli-logging.c.
References gdb_printf(), and logging_overwrite.
|
static |
Definition at line 77 of file cli-logging.c.
References gdb_printf(), and logging_redirect.
|
static |
Definition at line 67 of file cli-logging.c.
Referenced by current_interp_set_logging(), handle_redirections(), cli_interp_base::set_logging(), mi_interp::set_logging(), and show_logging_debug_redirect().
|
static |
Definition at line 184 of file cli-logging.c.
Referenced by set_logging_enabled(), and show_logging_enabled().
|
static |
Definition at line 29 of file cli-logging.c.
Referenced by handle_redirections(), and set_logging_on().
|
static |
Definition at line 38 of file cli-logging.c.
Referenced by handle_redirections(), and show_logging_overwrite().
|
static |
Definition at line 66 of file cli-logging.c.
Referenced by current_interp_set_logging(), handle_redirections(), cli_interp_base::set_logging(), mi_interp::set_logging(), and show_logging_redirect().
|
static |
Definition at line 27 of file cli-logging.c.
Referenced by handle_redirections(), maybe_warn_already_logging(), and set_logging_off().