GDB (xrefs)
|
Go to the source code of this file.
Functions | |
struct auto_load_pspace_info * | get_auto_load_pspace_data_for_loading (struct program_space *pspace) |
void | auto_load_objfile_script (struct objfile *objfile, const struct extension_language_defn *) |
void | load_auto_scripts_for_objfile (struct objfile *objfile) |
void | auto_load_info_scripts (char *pattern, int from_tty, const struct extension_language_defn *) |
struct cmd_list_element ** | auto_load_set_cmdlist_get (void) |
struct cmd_list_element ** | auto_load_show_cmdlist_get (void) |
struct cmd_list_element ** | auto_load_info_cmdlist_get (void) |
int | file_is_auto_load_safe (const char *filename, const char *debug_fmt,...) ATTRIBUTE_PRINTF(2 |
int int | auto_load_gdb_scripts_enabled (const struct extension_language_defn *extlang) |
Variables | |
int | global_auto_load |
int | auto_load_local_gdbinit |
char * | auto_load_local_gdbinit_pathname |
int | auto_load_local_gdbinit_loaded |
char | auto_load_info_scripts_pattern_nl [] |
int int auto_load_gdb_scripts_enabled | ( | const struct extension_language_defn * | extlang | ) |
Definition at line 97 of file auto-load.c.
References auto_load_gdb_scripts.
struct cmd_list_element** auto_load_info_cmdlist_get | ( | void | ) |
Definition at line 1585 of file auto-load.c.
References _, add_prefix_cmd(), class_info, info_auto_load_cmd(), and infolist.
Referenced by _initialize_auto_load(), _initialize_thread_db(), gdbpy_initialize_auto_load(), gdbscm_initialize_auto_load(), and info_auto_load_cmd().
void auto_load_info_scripts | ( | char * | pattern, |
int | from_tty, | ||
const struct extension_language_defn * | |||
) |
Definition at line 1323 of file auto-load.c.
References _, auto_load_info_scripts_pattern_nl, collect_matching_scripts(), current_program_space, current_uiout, do_cleanups(), dont_repeat(), error(), get_auto_load_pspace_data(), auto_load_pspace_info::loaded_script_files, auto_load_pspace_info::loaded_script_texts, make_cleanup(), make_cleanup_ui_out_table_begin_end(), print_scripts(), re_comp(), ui_left, ui_out_message(), ui_out_table_body(), ui_out_table_header(), ui_out_text(), VEC(), VEC_alloc, VEC_cleanup, and VEC_length.
Referenced by info_auto_load_gdb_scripts(), info_auto_load_guile_scripts(), and info_auto_load_python_scripts().
void auto_load_objfile_script | ( | struct objfile * | objfile, |
const struct extension_language_defn * | |||
) |
Definition at line 890 of file auto-load.c.
References _, auto_load_objfile_script_1(), debug_auto_load, do_cleanups(), fprintf_unfiltered(), gdb_realpath(), gdb_stdlog, len, make_cleanup(), objfile_name(), and xfree().
Referenced by auto_load_ext_lang_scripts_for_objfile().
struct cmd_list_element** auto_load_set_cmdlist_get | ( | void | ) |
Definition at line 1507 of file auto-load.c.
References _, add_prefix_cmd(), class_maintenance, set_auto_load_cmd(), and setlist.
Referenced by _initialize_auto_load(), _initialize_thread_db(), gdbpy_initialize_auto_load(), gdbscm_initialize_auto_load(), and set_auto_load_cmd().
struct cmd_list_element** auto_load_show_cmdlist_get | ( | void | ) |
Definition at line 1534 of file auto-load.c.
References _, add_prefix_cmd(), class_maintenance, show_auto_load_cmd(), and showlist.
Referenced by _initialize_auto_load(), _initialize_thread_db(), gdbpy_initialize_auto_load(), gdbscm_initialize_auto_load(), and show_auto_load_cmd().
struct auto_load_pspace_info* get_auto_load_pspace_data_for_loading | ( | struct program_space * | pspace | ) |
Definition at line 658 of file auto-load.c.
References get_auto_load_pspace_data(), init_loaded_scripts_info(), and auto_load_pspace_info::loaded_script_files.
Referenced by auto_load_objfile_script_1(), and source_section_scripts().
void load_auto_scripts_for_objfile | ( | struct objfile * | objfile | ) |
Definition at line 1194 of file auto-load.c.
References auto_load_ext_lang_scripts_for_objfile(), auto_load_section_scripts(), AUTO_SECTION_NAME, objfile::flags, global_auto_load, is_target_filename(), OBJF_NOT_FILENAME, and objfile::original_name.
Referenced by auto_load_new_objfile(), and captured_main().
char auto_load_info_scripts_pattern_nl[] |
Definition at line 1299 of file auto-load.c.
Referenced by auto_load_info_scripts(), info_auto_load_cmd(), and info_auto_load_libthread_db().
int auto_load_local_gdbinit |
Definition at line 115 of file auto-load.c.
Referenced by _initialize_auto_load(), and captured_main().
int auto_load_local_gdbinit_loaded |
Definition at line 121 of file auto-load.c.
Referenced by captured_main(), and info_auto_load_local_gdbinit().
char* auto_load_local_gdbinit_pathname |
Definition at line 118 of file auto-load.c.
Referenced by captured_main(), and info_auto_load_local_gdbinit().
int global_auto_load |
Definition at line 112 of file auto-load.c.
Referenced by captured_main(), and load_auto_scripts_for_objfile().