GDB (xrefs)
|
#include "defs.h"
#include "bfd.h"
#include "gdb_bfd.h"
#include "build-id.h"
#include "gdbsupport/gdb_vecs.h"
#include "symfile.h"
#include "objfiles.h"
#include "filenames.h"
#include "gdbcore.h"
#include "cli/cli-style.h"
Go to the source code of this file.
Functions | |
const struct bfd_build_id * | build_id_bfd_get (bfd *abfd) |
int | build_id_verify (bfd *abfd, size_t check_len, const bfd_byte *check) |
static gdb_bfd_ref_ptr | build_id_to_debug_bfd_1 (const std::string &link, size_t build_id_len, const bfd_byte *build_id) |
static gdb_bfd_ref_ptr | build_id_to_bfd_suffix (size_t build_id_len, const bfd_byte *build_id, const char *suffix) |
gdb_bfd_ref_ptr | build_id_to_debug_bfd (size_t build_id_len, const bfd_byte *build_id) |
gdb_bfd_ref_ptr | build_id_to_exec_bfd (size_t build_id_len, const bfd_byte *build_id) |
std::string | find_separate_debug_file_by_buildid (struct objfile *objfile, deferred_warnings *warnings) |
const struct bfd_build_id * build_id_bfd_get | ( | bfd * | abfd | ) |
Definition at line 34 of file build-id.c.
Referenced by build_id_verify(), elf_symfile_read_dwarf2(), find_separate_debug_file_by_buildid(), gdbpy_lookup_objfile(), get_gdb_index_contents_from_cache(), get_gdb_index_contents_from_cache_dwz(), index_cache_store_context::index_cache_store_context(), locate_exec_from_corefile_build_id(), objfpy_get_build_id(), open_source_file(), and validate_exec_file().
|
static |
Definition at line 140 of file build-id.c.
References build_id_to_debug_bfd_1(), debug_file_directory, gdb_sysroot, and size.
Referenced by build_id_to_debug_bfd(), and build_id_to_exec_bfd().
gdb_bfd_ref_ptr build_id_to_debug_bfd | ( | size_t | build_id_len, |
const bfd_byte * | build_id ) |
Definition at line 196 of file build-id.c.
References build_id_to_bfd_suffix().
Referenced by dwarf2_get_dwz_file(), and find_separate_debug_file_by_buildid().
|
static |
Definition at line 81 of file build-id.c.
References build_id_verify(), gdb_bfd_open(), gdb_flush(), gdb_printf(), gdb_stdlog, gnutarget, separate_debug_file_debug, and TARGET_SYSROOT_PREFIX.
Referenced by build_id_to_bfd_suffix().
gdb_bfd_ref_ptr build_id_to_exec_bfd | ( | size_t | build_id_len, |
const bfd_byte * | build_id ) |
Definition at line 204 of file build-id.c.
References build_id_to_bfd_suffix().
Referenced by locate_exec_from_corefile_build_id().
int build_id_verify | ( | bfd * | abfd, |
size_t | check_len, | ||
const bfd_byte * | check ) |
Definition at line 56 of file build-id.c.
References build_id_bfd_get(), and check().
Referenced by build_id_to_debug_bfd_1(), dwarf2_get_dwz_file(), dwz_search_other_debugdirs(), elf_symfile_read_dwarf2(), and locate_exec_from_corefile_build_id().
std::string find_separate_debug_file_by_buildid | ( | struct objfile * | objfile, |
deferred_warnings * | warnings ) |
Definition at line 212 of file build-id.c.
References build_id_bfd_get(), build_id_to_debug_bfd(), file_name_style, gdb_printf(), gdb_stdlog, objfile::obfd, objfile_name(), separate_debug_file_debug, cli_style_option::style(), styled_string(), and deferred_warnings::warn().
Referenced by coff_symfile_read(), and elf_symfile_read_dwarf2().