Lines Matching refs:environment
472 current_inferior ()->environment.envp (),
2019 const char *val = current_inferior ()->environment.get (var);
2037 char **envp = current_inferior ()->environment.envp ();
2054 error_no_arg (_("environment variable and value"));
2078 error_no_arg (_("environment variable to set"));
2100 gdb_printf (_("Setting environment variable "
2103 current_inferior ()->environment.set (var.c_str (), "");
2106 current_inferior ()->environment.set (var.c_str (), val);
2114 /* If there is no argument, delete all environment variables.
2116 if (!from_tty || query (_("Delete all environment variables? ")))
2117 current_inferior ()->environment.clear ();
2120 current_inferior ()->environment.unset (var);
2131 gdb_puts (current_inferior ()->environment.get (path_var_name));
2143 env = current_inferior ()->environment.get (path_var_name);
2149 current_inferior ()->environment.set (path_var_name, exec_path.c_str ());
3083 shell that will start the program (specified by the \"$SHELL\" environment\n\
3149 c = add_cmd ("environment", no_class, environment_info, _("\
3150 The environment to give the program, or one variable's value.\n\
3151 With an argument VAR, prints the value of environment variable VAR to\n\
3153 environment to be given to the program."), &showlist);
3160 c = add_cmd ("environment", class_run, unset_environment_command, _("\
3161 Cancel environment variable VAR for the program.\n\
3166 c = add_cmd ("environment", class_run, set_environment_command, _("\
3167 Set environment variable value to give the program.\n\
3169 VALUES of environment variables are uninterpreted strings.\n\