GDB (xrefs)
Functions
/home/stan/gdb/src/gdb/build-id.c File Reference
#include "defs.h"
#include "bfd.h"
#include "elf-bfd.h"
#include "gdb_bfd.h"
#include "build-id.h"
#include "gdb_string.h"
#include "gdb_vecs.h"
#include "symfile.h"
#include "objfiles.h"
#include "filenames.h"

Go to the source code of this file.

Functions

static struct elf_build_id * build_id_bfd_get (bfd *abfd)
int build_id_verify (bfd *abfd, size_t check_len, const bfd_byte *check)
bfd * build_id_to_debug_bfd (size_t build_id_len, const bfd_byte *build_id)
char * find_separate_debug_file_by_buildid (struct objfile *objfile)

Function Documentation

static struct elf_build_id* build_id_bfd_get ( bfd *  abfd) [static, read]

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

Referenced by build_id_verify(), and find_separate_debug_file_by_buildid().

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

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

References _, build_id_bfd_get(), memcmp(), and warning().

Referenced by build_id_to_debug_bfd(), and dwarf2_get_dwz_file().

char* find_separate_debug_file_by_buildid ( struct objfile objfile)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines