GDB (API)
Functions | Variables
/home/stan/gdb/src/gdb/objfiles.c File Reference
#include "defs.h"
#include "bfd.h"
#include "symtab.h"
#include "symfile.h"
#include "objfiles.h"
#include "gdb-stabs.h"
#include "target.h"
#include "bcache.h"
#include "expression.h"
#include "parser-defs.h"
#include "gdb_assert.h"
#include <sys/types.h>
#include "gdb_stat.h"
#include <fcntl.h>
#include "gdb_obstack.h"
#include "gdb_string.h"
#include "hashtab.h"
#include "breakpoint.h"
#include "block.h"
#include "dictionary.h"
#include "source.h"
#include "addrmap.h"
#include "arch-utils.h"
#include "exec.h"
#include "observer.h"
#include "complaints.h"
#include "psymtab.h"
#include "solist.h"
#include "gdb_bfd.h"
#include "btrace.h"

Go to the source code of this file.

Functions

void set_objfile_per_bfd (struct objfile *objfile)
void build_objfile_section_table (struct objfile *objfile)
struct objfileallocate_objfile (bfd *abfd, const char *name, int flags)
struct gdbarch * get_objfile_arch (struct objfile *objfile)
int entry_point_address_query (CORE_ADDR *entry_p)
CORE_ADDR entry_point_address (void)
struct objfileobjfile_separate_debug_iterate (const struct objfile *parent, const struct objfile *objfile)
void put_objfile_before (struct objfile *objfile, struct objfile *before_this)
void objfile_to_front (struct objfile *objfile)
void unlink_objfile (struct objfile *objfile)
void add_separate_debug_objfile (struct objfile *objfile, struct objfile *parent)
void free_objfile_separate_debug (struct objfile *objfile)
void free_objfile (struct objfile *objfile)
struct cleanup * make_cleanup_free_objfile (struct objfile *obj)
void free_all_objfiles (void)
void objfile_relocate (struct objfile *objfile, const struct section_offsets *new_offsets)
void objfile_rebase (struct objfile *objfile, CORE_ADDR slide)
int objfile_has_partial_symbols (struct objfile *objfile)
int objfile_has_full_symbols (struct objfile *objfile)
int objfile_has_symbols (struct objfile *objfile)
int have_partial_symbols (void)
int have_full_symbols (void)
void objfile_purge_solibs (void)
int have_minimal_symbols (void)
struct obj_sectionfind_pc_section (CORE_ADDR pc)
int pc_in_section (CORE_ADDR pc, char *name)
void objfiles_changed (void)
void inhibit_section_map_updates (struct program_space *pspace)
void resume_section_map_updates (struct program_space *pspace)
void resume_section_map_updates_cleanup (void *arg)
void default_iterate_over_objfiles_in_search_order (struct gdbarch *gdbarch, iterate_over_objfiles_in_search_order_cb_ftype *cb, void *cb_data, struct objfile *current_objfile)
const char * objfile_name (const struct objfile *objfile)
void _initialize_objfiles (void)

Variables

initialize_file_ftype _initialize_objfiles

Function Documentation

void _initialize_objfiles ( void  )

Definition at line 1511 of file objfiles.c.

void add_separate_debug_objfile ( struct objfile objfile,
struct objfile parent 
)

Definition at line 500 of file objfiles.c.

struct objfile* allocate_objfile ( bfd *  abfd,
const char *  name,
int  flags 
) [read]

Definition at line 276 of file objfiles.c.

void build_objfile_section_table ( struct objfile objfile)

Definition at line 234 of file objfiles.c.

void default_iterate_over_objfiles_in_search_order ( struct gdbarch *  gdbarch,
iterate_over_objfiles_in_search_order_cb_ftype cb,
void *  cb_data,
struct objfile current_objfile 
)

Definition at line 1481 of file objfiles.c.

Definition at line 371 of file objfiles.c.

Definition at line 358 of file objfiles.c.

struct obj_section* find_pc_section ( CORE_ADDR  pc) [read]

Definition at line 1376 of file objfiles.c.

void free_all_objfiles ( void  )

Definition at line 685 of file objfiles.c.

void free_objfile ( struct objfile objfile)

Definition at line 553 of file objfiles.c.

void free_objfile_separate_debug ( struct objfile objfile)

Definition at line 524 of file objfiles.c.

struct gdbarch* get_objfile_arch ( struct objfile objfile) [read]

Definition at line 349 of file objfiles.c.

int have_full_symbols ( void  )

Definition at line 1021 of file objfiles.c.

Definition at line 1060 of file objfiles.c.

Definition at line 1004 of file objfiles.c.

void inhibit_section_map_updates ( struct program_space pspace)

Definition at line 1450 of file objfiles.c.

struct cleanup* make_cleanup_free_objfile ( struct objfile obj) [read]

Definition at line 677 of file objfiles.c.

int objfile_has_full_symbols ( struct objfile objfile)

Definition at line 979 of file objfiles.c.

int objfile_has_partial_symbols ( struct objfile objfile)

Definition at line 960 of file objfiles.c.

int objfile_has_symbols ( struct objfile objfile)

Definition at line 988 of file objfiles.c.

const char* objfile_name ( const struct objfile objfile)

Definition at line 1499 of file objfiles.c.

void objfile_purge_solibs ( void  )

Definition at line 1039 of file objfiles.c.

void objfile_rebase ( struct objfile objfile,
CORE_ADDR  slide 
)

Definition at line 940 of file objfiles.c.

void objfile_relocate ( struct objfile objfile,
const struct section_offsets new_offsets 
)

Definition at line 875 of file objfiles.c.

struct objfile* objfile_separate_debug_iterate ( const struct objfile parent,
const struct objfile objfile 
) [read]

Definition at line 390 of file objfiles.c.

void objfile_to_front ( struct objfile objfile)

Definition at line 448 of file objfiles.c.

void objfiles_changed ( void  )

Definition at line 1441 of file objfiles.c.

int pc_in_section ( CORE_ADDR  pc,
char *  name 
)

Definition at line 1423 of file objfiles.c.

void put_objfile_before ( struct objfile objfile,
struct objfile before_this 
)

Definition at line 425 of file objfiles.c.

void resume_section_map_updates ( struct program_space pspace)

Definition at line 1458 of file objfiles.c.

void resume_section_map_updates_cleanup ( void *  arg)

Definition at line 1466 of file objfiles.c.

void set_objfile_per_bfd ( struct objfile objfile)

Definition at line 188 of file objfiles.c.

void unlink_objfile ( struct objfile objfile)

Definition at line 479 of file objfiles.c.


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines