GDB (API)
Functions
/home/stan/gdb/src/gdb/gdb_bfd.h File Reference
#include "registry.h"

Go to the source code of this file.

Functions

 DECLARE_REGISTRY (bfd)
void gdb_bfd_stash_filename (struct bfd *abfd)
struct bfd * gdb_bfd_open (const char *name, const char *target, int fd)
void gdb_bfd_ref (struct bfd *abfd)
void gdb_bfd_unref (struct bfd *abfd)
void gdb_bfd_mark_parent (bfd *child, bfd *parent)
const gdb_bytegdb_bfd_map_section (asection *section, bfd_size_type *size)
int gdb_bfd_crc (struct bfd *abfd, unsigned long *crc_out)
bfd * gdb_bfd_fopen (const char *, const char *, const char *, int)
bfd * gdb_bfd_openr (const char *, const char *)
bfd * gdb_bfd_openw (const char *, const char *)
bfd * gdb_bfd_openr_iovec (const char *filename, const char *target, void *(*open_func)(struct bfd *nbfd, void *open_closure), void *open_closure, file_ptr(*pread_func)(struct bfd *nbfd, void *stream, void *buf, file_ptr nbytes, file_ptr offset), int(*close_func)(struct bfd *nbfd, void *stream), int(*stat_func)(struct bfd *abfd, void *stream, struct stat *sb))
bfd * gdb_bfd_openr_next_archived_file (bfd *archive, bfd *previous)
bfd * gdb_bfd_fdopenr (const char *filename, const char *target, int fd)
int gdb_bfd_section_index (bfd *abfd, asection *section)
int gdb_bfd_count_sections (bfd *abfd)
int gdb_bfd_requires_relocations (bfd *abfd)

Function Documentation

DECLARE_REGISTRY ( bfd  )
int gdb_bfd_count_sections ( bfd *  abfd)

Definition at line 639 of file gdb_bfd.c.

int gdb_bfd_crc ( struct bfd *  abfd,
unsigned long *  crc_out 
)

Definition at line 470 of file gdb_bfd.c.

bfd* gdb_bfd_fdopenr ( const char *  filename,
const char *  target,
int  fd 
)

Definition at line 601 of file gdb_bfd.c.

bfd* gdb_bfd_fopen ( const char *  ,
const char *  ,
const char *  ,
int   
)

Definition at line 487 of file gdb_bfd.c.

const gdb_byte* gdb_bfd_map_section ( asection *  section,
bfd_size_type *  size 
)

Definition at line 359 of file gdb_bfd.c.

void gdb_bfd_mark_parent ( bfd *  child,
bfd *  parent 
)

Definition at line 567 of file gdb_bfd.c.

struct bfd* gdb_bfd_open ( const char *  name,
const char *  target,
int  fd 
) [read]

Definition at line 155 of file gdb_bfd.c.

bfd* gdb_bfd_openr ( const char *  ,
const char *   
)

Definition at line 504 of file gdb_bfd.c.

bfd* gdb_bfd_openr_iovec ( const char *  filename,
const char *  target,
void *(*)(struct bfd *nbfd, void *open_closure)  open_func,
void *  open_closure,
file_ptr(*)(struct bfd *nbfd, void *stream, void *buf, file_ptr nbytes, file_ptr offset pread_func,
int(*)(struct bfd *nbfd, void *stream)  close_func,
int(*)(struct bfd *abfd, void *stream, struct stat *sb)  stat_func 
)

Definition at line 536 of file gdb_bfd.c.

bfd* gdb_bfd_openr_next_archived_file ( bfd *  archive,
bfd *  previous 
)

Definition at line 588 of file gdb_bfd.c.

bfd* gdb_bfd_openw ( const char *  ,
const char *   
)

Definition at line 520 of file gdb_bfd.c.

void gdb_bfd_ref ( struct bfd *  abfd)

Definition at line 258 of file gdb_bfd.c.

Definition at line 647 of file gdb_bfd.c.

int gdb_bfd_section_index ( bfd *  abfd,
asection *  section 
)

Definition at line 621 of file gdb_bfd.c.

void gdb_bfd_stash_filename ( struct bfd *  abfd)

Definition at line 63 of file gdb_bfd.c.

void gdb_bfd_unref ( struct bfd *  abfd)

Definition at line 294 of file gdb_bfd.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines