GDB (xrefs)
|
Go to the source code of this file.
Macros | |
#define | solib_debug_printf(fmt, ...) debug_prefixed_printf_cond (debug_solib, "solib", fmt, ##__VA_ARGS__) |
#define | SOLIB_SCOPED_DEBUG_START_END(fmt, ...) scoped_debug_start_end (debug_solib, "solib", fmt, ##__VA_ARGS__) |
Functions | |
void | clear_solib (void) |
void | solib_add (const char *, int, int) |
bool | solib_read_symbols (struct so_list *, symfile_add_flags) |
void | solib_create_inferior_hook (int from_tty) |
const char * | solib_name_from_address (struct program_space *, CORE_ADDR) |
bool | solib_contains_address_p (const struct so_list *, CORE_ADDR) |
bool | solib_keep_data_in_core (CORE_ADDR vaddr, unsigned long size) |
bool | in_solib_dynsym_resolve_code (CORE_ADDR) |
void | no_shared_libraries (const char *ignored, int from_tty) |
void | update_solib_list (int from_tty) |
bool | libpthread_name_p (const char *name) |
CORE_ADDR | gdb_bfd_lookup_symbol (bfd *abfd, gdb::function_view< bool(const asymbol *)> match_sym) |
CORE_ADDR | gdb_bfd_lookup_symbol_from_symtab (bfd *abfd, gdb::function_view< bool(const asymbol *)> match_sym) |
int | gdb_bfd_scan_elf_dyntag (const int desired_dyntag, bfd *abfd, CORE_ADDR *ptr, CORE_ADDR *ptr_addr) |
gdb::unique_xmalloc_ptr< char > | gdb_bfd_read_elf_soname (const char *filename) |
void | update_solib_breakpoints (void) |
void | handle_solib_event (void) |
void | set_cbfd_soname_build_id (gdb_bfd_ref_ptr abfd, const char *soname, const bfd_build_id *build_id) |
gdb::unique_xmalloc_ptr< char > | get_cbfd_soname_build_id (gdb_bfd_ref_ptr abfd, const char *soname) |
Variables | |
bool | debug_solib |
#define solib_debug_printf | ( | fmt, | |
... ) debug_prefixed_printf_cond (debug_solib, "solib", fmt, ##__VA_ARGS__) |
Definition at line 39 of file solib.h.
Referenced by enable_break(), enable_break2(), frv_current_sos(), lm_base(), solib_aix_free_so(), solib_aix_get_library_list(), solib_aix_get_toc_value(), svr4_create_probe_breakpoints(), svr4_create_solib_event_breakpoints(), and svr4_find_and_create_probe_breakpoints().
#define SOLIB_SCOPED_DEBUG_START_END | ( | fmt, | |
... ) scoped_debug_start_end (debug_solib, "solib", fmt, ##__VA_ARGS__) |
Definition at line 42 of file solib.h.
Referenced by svr4_find_and_create_probe_breakpoints().
|
extern |
Definition at line 1719 of file solib.c.
References bfd_lookup_symbol_from_dyn_symtab(), and gdb_bfd_lookup_symbol_from_symtab().
Referenced by enable_break(), enable_break(), and enable_break2().
|
extern |
Definition at line 1488 of file solib.c.
References gdbarch_elf_make_msymbol_special(), gdbarch_elf_make_msymbol_special_p(), general_symbol_info::set_value_address(), target_gdbarch(), and minimal_symbol::unrelocated_address().
Referenced by gdb_bfd_lookup_symbol().
|
extern |
Definition at line 1643 of file solib.c.
References gdb_bfd_get_full_section_contents(), gdb_bfd_open(), gdb_bfd_scan_elf_dyntag(), and gnutarget.
Referenced by core_target::build_file_mappings().
|
extern |
Definition at line 1541 of file solib.c.
References target_section::addr, builtin_type::builtin_data_ptr, builtin_type(), current_program_space, extract_typed_address(), target_gdbarch(), target_read_memory(), program_space::target_sections(), and target_section::the_bfd_section.
Referenced by elf_locate_base(), gdb_bfd_read_elf_soname(), lm_base(), and svr4_iterate_over_objfiles_in_search_order().
|
extern |
Definition at line 509 of file solib.c.
References cbfd_soname_build_id_data_key, and registry< T >::get().
Referenced by solib_map_sections().
|
extern |
Definition at line 1309 of file solib.c.
References auto_solib_add, program_space::clear_solib_cache(), current_inferior(), gdbarch_so_ops(), target_so_ops::handle_event, target_terminal::inferior(), target_terminal::ours_for_output(), inferior::pspace, solib_add(), and target_gdbarch().
Referenced by bpstat_stop_status(), handle_inferior_event(), and process_one_event().
|
extern |
Definition at line 1262 of file solib.c.
References gdbarch_so_ops(), target_so_ops::in_dynsym_resolve_code, and target_gdbarch().
Referenced by process_event_stop_test().
|
extern |
Definition at line 966 of file solib.c.
References name.
Referenced by libpthread_objfile_p(), and libpthread_solib_p().
|
extern |
Definition at line 1284 of file solib.c.
References clear_solib(), and objfile_purge_solibs().
Referenced by detach_command(), disconnect_command(), follow_exec(), remote_target::open_1(), symbol_file_clear(), target_pre_inferior(), and program_space::~program_space().
|
extern |
Definition at line 490 of file solib.c.
References build_id_to_string(), cbfd_soname_build_id_data_key, and registry< T >::get().
Referenced by core_target::build_file_mappings().
|
extern |
Definition at line 990 of file solib.c.
References breakpoint_re_set(), current_program_space, gdb_printf(), info_verbose, libpthread_solib_p(), print_symbol_loading_p(), re_comp(), reinit_frame_cache(), program_space::solib_add_generation, solib_read_symbols(), program_space::solibs(), SYMFILE_DEFER_BP_RESET, SYMFILE_VERBOSE, and update_solib_list().
Referenced by enable_break(), frv_fetch_objfile_link_map(), handle_solib_event(), post_create_inferior(), reload_shared_libraries(), rocm_solib_target_inferior_created(), sharedlibrary_command(), remote_target::start_remote_1(), and svr4_fetch_objfile_link_map().
|
extern |
Definition at line 1175 of file solib.c.
References so_list::sections.
Referenced by disable_breakpoints_in_unloaded_shlib(), and solib_name_from_address().
|
extern |
Definition at line 1252 of file solib.c.
References gdbarch_so_ops(), target_so_ops::solib_create_inferior_hook, and target_gdbarch().
Referenced by nto_procfs_target::create_inferior(), nto_procfs_target::post_attach(), post_create_inferior(), reload_shared_libraries(), and symbol_file_command().
|
extern |
Definition at line 1214 of file solib.c.
References gdbarch_so_ops(), target_so_ops::keep_data_in_core, size, and target_gdbarch().
Referenced by gcore_create_callback().
|
extern |
Definition at line 1200 of file solib.c.
References so_list::next, program_space::so_list, so_list::so_name, and solib_contains_address_p().
Referenced by disable_breakpoints_in_shlibs(), insert_bp_location(), pspy_solib_name(), and remove_breakpoint_1().
|
extern |
Definition at line 686 of file solib.c.
References so_list::abfd, objfile::addr_low, so_list::addr_low, build_section_addr_info_from_section_table(), current_inferior(), current_program_space, exception_fprintf(), flags, gdb_stderr, OBJF_SHARED, so_list::objfile, objfile_name(), program_space::objfiles(), so_list::sections, so_list::so_name, symbol_file_add_from_bfd(), so_list::symbols_loaded, and inferior::symfile_flags.
Referenced by bsd_uthread_solib_loaded(), reload_shared_libraries_1(), and solib_add().
|
extern |
Definition at line 1298 of file solib.c.
References gdbarch_so_ops(), target_gdbarch(), and target_so_ops::update_breakpoints.
Referenced by set_stop_on_solib_events().
|
extern |
Definition at line 775 of file solib.c.
References program_space::added_solibs, current_inferior(), current_program_space, target_so_ops::current_sos, program_space::deleted_solibs, exception_fprintf(), free_so(), gdb_stderr, gdbarch_so_ops(), inferior_ptid, so_list::next, notify_solib_loaded(), notify_solib_unloaded(), OBJF_USERLOADED, target_so_ops::open_symbol_file_object, program_space::remove_target_sections(), target_so_ops::same, program_space::so_list, so_list::so_original_name, solib_map_sections(), solib_used(), program_space::symfile_object_file, target_gdbarch(), and target_has_execution().
Referenced by info_sharedlibrary_command(), mi_cmd_file_list_shared_libraries(), and solib_add().