Lines Matching refs:script

30 #include "cli/cli-script.h"
51 followed by the path of a python script to load. */
135 gdb_printf (file, _("Auto-loading of .gdbinit script from current "
501 the same script. There's no point in loading the script multiple times,
512 /* Non-zero if we've issued the warning about an auto-load script not being
516 /* Non-zero if we've issued the warning about an auto-load script not being
528 /* Full path name or NULL if script wasn't found (or was otherwise
532 /* True if this script has been loaded. */
557 /* Hash function for the loaded script hash. */
567 /* Equality function for the loaded script hash. */
618 /* Add script file NAME in LANGUAGE to hash table of PSPACE_INFO.
619 LOADED is true if the script has been (is going to) be loaded, false
621 FULL_PATH is NULL if the script wasn't found.
623 The result is true if the script was already in the hash table. */
638 /* If this script is not in the hash table, add it. */
667 /* Add script contents NAME in LANGUAGE to hash table of PSPACE_INFO.
668 LOADED is true if the script has been (is going to) be loaded, false
671 The result is true if the script was already in the hash table. */
686 /* If this script is not in the hash table, add it. */
719 /* Look for the auto-load script in LANGUAGE associated with OBJFILE where
721 matching script, return 0 otherwise. */
783 ("Loading %s script \"%s\" by extension for objfile \"%s\".",
788 /* Add this script to the hash table too so
796 script was already in the table, and always load it.
820 /* Look for the auto-load script in LANGUAGE associated with OBJFILE and load
853 find the auto-load script using the parent's path and the
889 Load FILE as a script in extension language LANGUAGE.
890 The script is from section SECTION_NAME in OBJFILE at offset OFFSET. */
901 /* Skip this script if support is not compiled in. */
913 /* Skip this script if auto-loading it has been disabled. */
926 ("Loading %s script \"%s\" from section \"%s\" of objfile \"%s\".",
935 /* If one script isn't found it's not uncommon for more to not be
936 found either. We don't want to print a message for each script,
959 Execute SCRIPT as a script in extension language LANG.
960 The script is from section SECTION_NAME in OBJFILE at offset OFFSET. */
967 const char *script)
973 /* The first line of the script is the name of the script.
976 newline = strchr (script, '\n');
983 name_holder = std::string (script, newline - script);
998 Missing/bad script name in entry at offset %u in section %s\n\
1007 /* Skip this script if support is not compiled in. */
1018 /* Skip this script if auto-loading it has been disabled. */
1026 ("Loading %s script \"%s\" from section \"%s\" of objfile \"%s\".",
1045 processing. First the script is looked for in $cwd. If not found there
1048 The section contains a list of path names of script files to load or
1049 actual script contents. Each entry is nul-terminated. */
1206 struct loaded_script *script = (struct loaded_script *) *slot;
1210 if (script->language == data->language && re_exec (script->name))
1211 data->scripts_p->push_back (script);
1219 print_script (struct loaded_script *script)
1225 uiout->field_string ("loaded", script->loaded ? "Yes" : "No");
1226 uiout->field_string ("script", script->name);
1230 if (script->full_path != NULL
1231 && strcmp (script->name, script->full_path) != 0)
1234 uiout->field_string ("full_path", script->full_path);
1258 for (loaded_script *script : scripts)
1259 print_script (script);
1331 uiout->table_header (70, ui_left, "script", "Script");
1372 /* Print an "unsupported script" warning if it has not already been printed.
1373 The script is in language LANGUAGE at offset OFFSET in section SECTION_NAME
1385 Unsupported auto-load script at offset %u in section %s\n\
1409 Missing auto-load script at offset %u in section %s\n\
1561 Enable or disable auto-loading of .gdbinit script in current directory."), _("\
1562 Show whether auto-loading .gdbinit script in current directory is enabled."),
1566 use a script associated with inferior executable file instead.\n\