|
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 "environ.h"#include "command.h"#include "ui-out.h"#include "top.h"#include <sys/stat.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, char **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 (void) |
Variables | |
| static const char | path_var_name [] = "PATH" |
| static char * | orig_path = NULL |
| void _initialize_mi_cmd_env | ( | void | ) |
Definition at line 264 of file mi-cmd-env.c.
References orig_path, and path_var_name.
|
static |
Definition at line 43 of file mi-cmd-env.c.
References execute_command(), run, and xstrprintf().
Referenced by mi_cmd_env_cd(), mi_cmd_env_dir(), mi_cmd_env_path(), and mi_cmd_env_pwd().
|
static |
Definition at line 95 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 86 of file mi-cmd-env.c.
References _, gdb::argv, env_execute_cli_command(), and error().
| void mi_cmd_env_dir | ( | const char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 183 of file mi-cmd-env.c.
References gdb::argv, 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(), selftests::reset(), source_path, and xfree().
| void mi_cmd_env_path | ( | const char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 108 of file mi-cmd-env.c.
References gdb::argv, current_inferior(), current_uiout, dont_repeat(), env_execute_cli_command(), env_mod_path(), inferior::environment, ui_out::field_string(), gdb_environ::get(), mi_getopt(), mi_version(), orig_path, path_var_name, selftests::reset(), gdb_environ::set(), and xfree().
| void mi_cmd_env_pwd | ( | const char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 60 of file mi-cmd-env.c.
References _, current_uiout, env_execute_cli_command(), error(), ui_out::field_string(), mi_version(), and safe_strerror().
| void mi_cmd_inferior_tty_set | ( | const char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 244 of file mi-cmd-env.c.
References gdb::argv, and set_inferior_io_terminal().
| void mi_cmd_inferior_tty_show | ( | const char * | command, |
| char ** | argv, | ||
| int | argc | ||
| ) |
Definition at line 252 of file mi-cmd-env.c.
References _, gdb::argv, current_uiout, error(), get_inferior_io_terminal(), and mi_valid_noargs().
|
static |
Definition at line 36 of file mi-cmd-env.c.
Referenced by _initialize_mi_cmd_env(), and mi_cmd_env_path().
|
static |
Definition at line 35 of file mi-cmd-env.c.
Referenced by _initialize_mi_cmd_env(), and mi_cmd_env_path().
1.8.14