GDB (xrefs)

Functions | Variables
/tmp/gdb-8.1/gdb/auto-load.h File Reference

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 (const 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 []

## Function Documentation

## ◆ auto_load_gdb_scripts_enabled()

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.

## ◆ auto_load_info_cmdlist_get()

struct cmd_list_element** auto_load_info_cmdlist_get | ( | void |  | ) |

Definition at line 1544 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().

## ◆ auto_load_info_scripts()

void auto_load_info_scripts | ( | const char * | pattern,
|  | int | from_tty,
|  | const struct extension_language_defn * |
| ) |  |

Definition at line 1294 of file auto-load.c.

References _, auto_load_info_scripts_pattern_nl, collect_matching_scripts(), current_program_space, current_uiout, dont_repeat(), error(), get_auto_load_pspace_data(), auto_load_pspace_info::loaded_script_files, auto_load_pspace_info::loaded_script_texts, ui_out::message(), print_scripts(), re_comp(), sort_scripts_by_name(), ui_out::table_body(), ui_out::table_header(), ui_out::text(), and ui_left.

Referenced by info_auto_load_gdb_scripts(), info_auto_load_guile_scripts(), and info_auto_load_python_scripts().

## ◆ auto_load_objfile_script()

void auto_load_objfile_script | ( | struct objfile * | objfile,
|  | const struct extension_language_defn * |
| ) |  |

Definition at line 879 of file auto-load.c.

References _, auto_load_objfile_script_1(), debug_auto_load, fprintf_unfiltered(), gdb_realpath(), gdb_stdlog, and objfile_name().

Referenced by auto_load_ext_lang_scripts_for_objfile().

## ◆ auto_load_set_cmdlist_get()

struct cmd_list_element** auto_load_set_cmdlist_get | ( | void |  | ) |

Definition at line 1474 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().

## ◆ auto_load_show_cmdlist_get()

struct cmd_list_element** auto_load_show_cmdlist_get | ( | void |  | ) |

Definition at line 1501 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().

## ◆ file_is_auto_load_safe()

int file_is_auto_load_safe | ( | const char * | filename,
|  | const char * | debug_fmt,
|  |  | ...
| ) |  |

## ◆ get_auto_load_pspace_data_for_loading()

struct auto_load_pspace_info* get_auto_load_pspace_data_for_loading | ( | struct program_space * | pspace | ) |

Definition at line 647 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().

## ◆ load_auto_scripts_for_objfile()

void load_auto_scripts_for_objfile | ( | struct objfile * | objfile | ) |

Definition at line 1176 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_1().

## Variable Documentation

## ◆ auto_load_info_scripts_pattern_nl

char auto_load_info_scripts_pattern_nl[]

Definition at line 1277 of file auto-load.c.

Referenced by auto_load_info_scripts(), info_auto_load_cmd(), and info_auto_load_libthread_db().

## ◆ auto_load_local_gdbinit

int auto_load_local_gdbinit

Definition at line 115 of file auto-load.c.

Referenced by _initialize_auto_load(), and captured_main_1().

## ◆ auto_load_local_gdbinit_loaded

int auto_load_local_gdbinit_loaded

Definition at line 121 of file auto-load.c.

Referenced by captured_main_1(), and info_auto_load_local_gdbinit().

## ◆ auto_load_local_gdbinit_pathname

char* auto_load_local_gdbinit_pathname

Definition at line 118 of file auto-load.c.

Referenced by captured_main_1(), and info_auto_load_local_gdbinit().

## ◆ global_auto_load

int global_auto_load

Definition at line 112 of file auto-load.c.

Referenced by captured_main_1(), and load_auto_scripts_for_objfile().