68 Set the debugger's behaviour regarding auto-loaded Python scripts."),
_(
"\
69 Show the debugger's behaviour regarding auto-loaded Python scripts."),
_(
"\
70 If enabled, auto-loaded Python scripts are loaded when the debugger reads\n\
71 an executable or shared library.\n\
72 This options has security implications for untrusted inferiors."),
79 Set the debugger's behaviour regarding auto-loaded Python scripts, "
82 Show the debugger's behaviour regarding auto-loaded Python scripts, "
86 cmd_name =
"auto-load-scripts";
91 cmd_name =
"auto-load-scripts";
96 _(
"Print the list of automatically loaded Python scripts.\n\
97 Usage: info auto-load python-scripts [REGEXP]"),
101 Print the list of automatically loaded Python scripts, deprecated."));
struct cmd_list_element * deprecate_cmd(struct cmd_list_element *cmd, const char *replacement)
static int auto_load_python_scripts
struct cmd_list_element ** auto_load_set_cmdlist_get(void)
const struct extension_language_defn extension_language_python
struct cmd_list_element * lookup_cmd(const char **line, struct cmd_list_element *list, char *cmdtype, int allow_unknown, int ignore_help_classes)
int gdbpy_initialize_auto_load(void)
struct cmd_list_element * setlist
void fprintf_filtered(struct ui_file *stream, const char *format,...)
struct cmd_list_element * showlist
struct cmd_list_element * add_cmd(const char *name, enum command_class theclass, cmd_cfunc_ftype *fun, const char *doc, struct cmd_list_element **list)
struct cmd_list_element * add_info(const char *name, cmd_cfunc_ftype *fun, const char *doc)
int gdbpy_auto_load_enabled(const struct extension_language_defn *extlang)
void auto_load_info_scripts(char *pattern, int from_tty, const struct extension_language_defn *language)
static void show_auto_load_python_scripts(struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
struct cmd_list_element ** auto_load_show_cmdlist_get(void)
static void info_auto_load_python_scripts(char *pattern, int from_tty)
void add_setshow_boolean_cmd(const char *name, enum command_class theclass, int *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_sfunc_ftype *set_func, show_value_ftype *show_func, struct cmd_list_element **set_list, struct cmd_list_element **show_list)
struct cmd_list_element ** auto_load_info_cmdlist_get(void)