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, const char *const *argv, int argc) |
void | mi_cmd_env_cd (const char *command, const char *const *argv, int argc) |
static void | env_mod_path (const char *dirname, std::string &which_path) |
void | mi_cmd_env_path (const char *command, const char *const *argv, int argc) |
void | mi_cmd_env_dir (const char *command, const char *const *argv, int argc) |
void | mi_cmd_inferior_tty_set (const char *command, const char *const *argv, int argc) |
void | mi_cmd_inferior_tty_show (const char *command, const char *const *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 244 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().
|
static |
Definition at line 88 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, |
const char *const * | argv, | ||
int | argc ) |
Definition at line 79 of file mi-cmd-env.c.
References env_execute_cli_command().
void mi_cmd_env_dir | ( | const char * | command, |
const char *const * | argv, | ||
int | argc ) |
Definition at line 167 of file mi-cmd-env.c.
References current_uiout, dont_repeat(), env_mod_path(), ui_out::field_string(), forget_cached_source_info(), init_source_path(), mi_getopt(), and source_path.
void mi_cmd_env_path | ( | const char * | command, |
const char *const * | argv, | ||
int | argc ) |
Definition at line 101 of file mi-cmd-env.c.
References current_inferior(), current_uiout, dont_repeat(), env_mod_path(), inferior::environment, ui_out::field_string(), mi_getopt(), orig_path, and path_var_name.
void mi_cmd_env_pwd | ( | const char * | command, |
const char *const * | argv, | ||
int | argc ) |
Definition at line 61 of file mi-cmd-env.c.
References current_uiout, and ui_out::field_string().
void mi_cmd_inferior_tty_set | ( | const char * | command, |
const char *const * | argv, | ||
int | argc ) |
Definition at line 219 of file mi-cmd-env.c.
References current_inferior(), and inferior::set_tty().
void mi_cmd_inferior_tty_show | ( | const char * | command, |
const char *const * | argv, | ||
int | argc ) |
Definition at line 231 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().