GDB (API)
|
#include "defs.h"
#include "gdb_bfd.h"
#include "gdb_assert.h"
#include "gdb_string.h"
#include "ui-out.h"
#include "gdbcmd.h"
#include "hashtab.h"
#include "filestuff.h"
Go to the source code of this file.
Defines | |
#define | GDB_BFD_DATA_ACCESSOR(ABFD) ((struct gdb_bfd_data *) bfd_usrdata (ABFD)) |
Functions | |
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) |
const gdb_byte * | gdb_bfd_map_section (asection *sectp, bfd_size_type *size) |
int | gdb_bfd_crc (struct bfd *abfd, unsigned long *crc_out) |
bfd * | gdb_bfd_fopen (const char *filename, const char *target, const char *mode, int fd) |
bfd * | gdb_bfd_openr (const char *filename, const char *target) |
bfd * | gdb_bfd_openw (const char *filename, const char *target) |
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)) |
void | gdb_bfd_mark_parent (bfd *child, bfd *parent) |
bfd * | gdb_bfd_openr_next_archived_file (bfd *archive, bfd *previous) |
bfd * | gdb_bfd_fdopenr (const char *filename, const char *target, int fd) |
gdb_static_assert (ARRAY_SIZE(_bfd_std_section)==4) | |
int | gdb_bfd_section_index (bfd *abfd, asection *section) |
int | gdb_bfd_count_sections (bfd *abfd) |
int | gdb_bfd_requires_relocations (bfd *abfd) |
void | _initialize_gdb_bfd (void) |
Variables | |
initialize_file_ftype | _initialize_gdb_bfd |
#define GDB_BFD_DATA_ACCESSOR | ( | ABFD | ) | ((struct gdb_bfd_data *) bfd_usrdata (ABFD)) |
void _initialize_gdb_bfd | ( | void | ) |
int gdb_bfd_count_sections | ( | bfd * | abfd | ) |
int gdb_bfd_crc | ( | struct bfd * | abfd, |
unsigned long * | crc_out | ||
) |
bfd* gdb_bfd_fdopenr | ( | const char * | filename, |
const char * | target, | ||
int | fd | ||
) |
bfd* gdb_bfd_fopen | ( | const char * | filename, |
const char * | target, | ||
const char * | mode, | ||
int | fd | ||
) |
const gdb_byte* gdb_bfd_map_section | ( | asection * | sectp, |
bfd_size_type * | size | ||
) |
void gdb_bfd_mark_parent | ( | bfd * | child, |
bfd * | parent | ||
) |
struct bfd* gdb_bfd_open | ( | const char * | name, |
const char * | target, | ||
int | fd | ||
) | [read] |
bfd* gdb_bfd_openr | ( | const char * | filename, |
const char * | target | ||
) |
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 | ||
) |
bfd* gdb_bfd_openr_next_archived_file | ( | bfd * | archive, |
bfd * | previous | ||
) |
bfd* gdb_bfd_openw | ( | const char * | filename, |
const char * | target | ||
) |
void gdb_bfd_ref | ( | struct bfd * | abfd | ) |
int gdb_bfd_requires_relocations | ( | bfd * | abfd | ) |
int gdb_bfd_section_index | ( | bfd * | abfd, |
asection * | section | ||
) |
void gdb_bfd_stash_filename | ( | struct bfd * | abfd | ) |
void gdb_bfd_unref | ( | struct bfd * | abfd | ) |
gdb_static_assert | ( | ARRAY_SIZE(_bfd_std_section) | = =4 | ) |