GDB (xrefs)
Loading...
Searching...
No Matches
Functions
/tmp/gdb-13.1/gdb/build-id.c File Reference
#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"

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)
 

Function Documentation

◆ build_id_bfd_get()

const struct bfd_build_id * build_id_bfd_get ( bfd *  abfd)

◆ build_id_to_bfd_suffix()

static gdb_bfd_ref_ptr build_id_to_bfd_suffix ( size_t  build_id_len,
const bfd_byte *  build_id,
const char *  suffix 
)
static

◆ build_id_to_debug_bfd()

gdb_bfd_ref_ptr build_id_to_debug_bfd ( size_t  build_id_len,
const bfd_byte *  build_id 
)

Definition at line 189 of file build-id.c.

References build_id_to_bfd_suffix().

Referenced by dwarf2_get_dwz_file(), and find_separate_debug_file_by_buildid().

◆ build_id_to_debug_bfd_1()

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

◆ build_id_to_exec_bfd()

gdb_bfd_ref_ptr build_id_to_exec_bfd ( size_t  build_id_len,
const bfd_byte *  build_id 
)

Definition at line 197 of file build-id.c.

References build_id_to_bfd_suffix().

Referenced by locate_exec_from_corefile_build_id().

◆ build_id_verify()

int build_id_verify ( bfd *  abfd,
size_t  check_len,
const bfd_byte *  check 
)

◆ find_separate_debug_file_by_buildid()

std::string find_separate_debug_file_by_buildid ( struct objfile objfile)