|
GDB (xrefs)
|
#include "defs.h"#include "inferior.h"#include "value.h"#include "mi-out.h"#include "mi-cmds.h"#include "mi-getopt.h"#include "symtab.h"#include "target.h"#include "gdbsupport/environ.h"#include "command.h"#include "ui-out.h"#include "top.h"#include <sys/stat.h>#include "source.h"Go to the source code of this file.
Functions | |
| static void | env_execute_cli_command (const char *cmd, const char *args) |
| void | mi_cmd_env_pwd (const char *command, char **argv, int argc) |
| void | mi_cmd_env_cd (const char *command, char **argv, int argc) |
| static void | env_mod_path (const char *dirname, std::string &which_path) |
| void | mi_cmd_env_path (const char *command, char **argv, int argc) |
| void | mi_cmd_env_dir (const char *command, char **argv, int argc) |
| void | mi_cmd_inferior_tty_set (const char *command, char **argv, int argc) |
| void | mi_cmd_inferior_tty_show (const char *command, char **argv, int argc) |
| void | _initialize_mi_cmd_env () |
Variables | |
| static const char | path_var_name [] = "PATH" |
| static char * | orig_path = NULL |
| void _initialize_mi_cmd_env | ( | ) |
Definition at line 266 of file mi-cmd-env.c.
Referenced by initialize_all_files().
|
static |
Definition at line 44 of file mi-cmd-env.c.
References execute_command(), and run.
Referenced by mi_cmd_env_cd(), mi_cmd_env_dir(), mi_cmd_env_path(), and mi_cmd_env_pwd().
|
static |
Definition at line 96 of file mi-cmd-env.c.
References add_path().
Referenced by mi_cmd_env_dir(), and mi_cmd_env_path().
| void mi_cmd_env_cd | ( | const char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 87 of file mi-cmd-env.c.
References env_execute_cli_command().
| void mi_cmd_env_dir | ( | const char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 183 of file mi-cmd-env.c.
References current_uiout, dont_repeat(), env_execute_cli_command(), env_mod_path(), ui_out::field_string(), forget_cached_source_info(), init_source_path(), mi_getopt(), mi_version(), and source_path.
| void mi_cmd_env_path | ( | const char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 109 of file mi-cmd-env.c.
References current_inferior(), current_uiout, dont_repeat(), env_execute_cli_command(), env_mod_path(), inferior::environment, ui_out::field_string(), mi_getopt(), mi_version(), orig_path, and path_var_name.
| void mi_cmd_env_pwd | ( | const char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 61 of file mi-cmd-env.c.
References current_uiout, env_execute_cli_command(), ui_out::field_string(), and mi_version().
| void mi_cmd_inferior_tty_set | ( | const char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 243 of file mi-cmd-env.c.
References current_inferior(), and inferior::set_tty().
| void mi_cmd_inferior_tty_show | ( | const char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 254 of file mi-cmd-env.c.
References current_inferior(), current_uiout, mi_valid_noargs(), and inferior::tty().
|
static |
Definition at line 37 of file mi-cmd-env.c.
Referenced by mi_cmd_env_path().
|
static |
Definition at line 36 of file mi-cmd-env.c.
Referenced by mi_cmd_env_path().