GDB (xrefs)
Loading...
Searching...
No Matches
Functions
build-id.h File Reference
#include "gdb_bfd.h"
#include "gdbsupport/rsp-low.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)
 
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)
 
static std::string build_id_to_string (const bfd_build_id *build_id)
 

Function Documentation

◆ build_id_bfd_get()

const struct bfd_build_id * build_id_bfd_get ( bfd *  abfd)

◆ 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_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_to_string()

static std::string build_id_to_string ( const bfd_build_id *  build_id)
inlinestatic

◆ 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)