GDB (API)
|
#include "defs.h"
#include "gdb_string.h"
#include "gdb_obstack.h"
#include "gdb_stat.h"
#include "symtab.h"
#include "breakpoint.h"
#include "target.h"
#include "gdbcore.h"
#include "libaout.h"
#include "filenames.h"
#include "objfiles.h"
#include "buildsym.h"
#include "stabsread.h"
#include "gdb-stabs.h"
#include "demangle.h"
#include "complaints.h"
#include "cp-abi.h"
#include "cp-support.h"
#include "psympriv.h"
#include "block.h"
#include "gdb_assert.h"
#include "aout/aout64.h"
#include "aout/stab_gnu.h"
Go to the source code of this file.
Defines | |
#define | LDSYMOFF(p) (((struct symloc *)((p)->read_symtab_private))->ldsymoff) |
#define | LDSYMLEN(p) (((struct symloc *)((p)->read_symtab_private))->ldsymlen) |
#define | SYMLOC(p) ((struct symloc *)((p)->read_symtab_private)) |
#define | SYMBOL_SIZE(p) (SYMLOC(p)->symbol_size) |
#define | SYMBOL_OFFSET(p) (SYMLOC(p)->symbol_offset) |
#define | STRING_OFFSET(p) (SYMLOC(p)->string_offset) |
#define | FILE_STRING_OFFSET(p) (SYMLOC(p)->file_string_offset) |
#define | DBX_STRINGTAB_SIZE_SIZE sizeof(long) /* FIXME */ |
#define | STRING_TABLE_OFFSET (sym_bfd->origin + obj_str_filepos (sym_bfd)) |
#define | SYMBOL_TABLE_OFFSET (sym_bfd->origin + obj_sym_filepos (sym_bfd)) |
#define | INTERNALIZE_SYMBOL(intern, extern, abfd) |
#define | COFF_STABS_SYMBOL_SIZE 12 /* XXX FIXME XXX */ |
#define | ELF_STABS_SYMBOL_SIZE 12 /* XXX FIXME XXX */ |
Functions | |
void | _initialize_dbxread (void) |
void | free_header_files (void) |
void | init_header_files (void) |
struct partial_symtab * | end_psymtab (struct objfile *objfile, struct partial_symtab *pst, const char **include_list, int num_includes, int capping_symbol_offset, CORE_ADDR capping_text, struct partial_symtab **dependency_list, int number_dependencies, int textlow_not_set) |
void | process_one_symbol (int type, int desc, CORE_ADDR valu, char *name, const struct section_offsets *section_offsets, struct objfile *objfile) |
void | coffstab_build_psymtabs (struct objfile *objfile, CORE_ADDR textaddr, unsigned int textsize, struct stab_section_list *stabsects, file_ptr stabstroffset, unsigned int stabstrsize) |
void | elfstab_build_psymtabs (struct objfile *objfile, asection *stabsect, file_ptr stabstroffset, unsigned int stabstrsize) |
void | stabsect_build_psymtabs (struct objfile *objfile, char *stab_name, char *stabstr_name, char *text_name) |
Variables | |
struct objfile_data * | dbx_objfile_data_key |
#define COFF_STABS_SYMBOL_SIZE 12 /* XXX FIXME XXX */ |
#define DBX_STRINGTAB_SIZE_SIZE sizeof(long) /* FIXME */ |
#define ELF_STABS_SYMBOL_SIZE 12 /* XXX FIXME XXX */ |
#define FILE_STRING_OFFSET | ( | p | ) | (SYMLOC(p)->file_string_offset) |
#define INTERNALIZE_SYMBOL | ( | intern, | |
extern, | |||
abfd | |||
) |
{ \ (intern).n_strx = bfd_h_get_32 (abfd, (extern)->e_strx); \ (intern).n_type = bfd_h_get_8 (abfd, (extern)->e_type); \ (intern).n_other = 0; \ (intern).n_desc = bfd_h_get_16 (abfd, (extern)->e_desc); \ if (bfd_get_sign_extend_vma (abfd)) \ (intern).n_value = bfd_h_get_signed_32 (abfd, (extern)->e_value); \ else \ (intern).n_value = bfd_h_get_32 (abfd, (extern)->e_value); \ }
#define STRING_TABLE_OFFSET (sym_bfd->origin + obj_str_filepos (sym_bfd)) |
#define SYMBOL_TABLE_OFFSET (sym_bfd->origin + obj_sym_filepos (sym_bfd)) |
void _initialize_dbxread | ( | void | ) |
void coffstab_build_psymtabs | ( | struct objfile * | objfile, |
CORE_ADDR | textaddr, | ||
unsigned int | textsize, | ||
struct stab_section_list * | stabsects, | ||
file_ptr | stabstroffset, | ||
unsigned int | stabstrsize | ||
) |
void elfstab_build_psymtabs | ( | struct objfile * | objfile, |
asection * | stabsect, | ||
file_ptr | stabstroffset, | ||
unsigned int | stabstrsize | ||
) |
struct partial_symtab* end_psymtab | ( | struct objfile * | objfile, |
struct partial_symtab * | pst, | ||
const char ** | include_list, | ||
int | num_includes, | ||
int | capping_symbol_offset, | ||
CORE_ADDR | capping_text, | ||
struct partial_symtab ** | dependency_list, | ||
int | number_dependencies, | ||
int | textlow_not_set | ||
) | [read] |
void free_header_files | ( | void | ) |
void init_header_files | ( | void | ) |
void process_one_symbol | ( | int | type, |
int | desc, | ||
CORE_ADDR | valu, | ||
char * | name, | ||
const struct section_offsets * | section_offsets, | ||
struct objfile * | objfile | ||
) |
void stabsect_build_psymtabs | ( | struct objfile * | objfile, |
char * | stab_name, | ||
char * | stabstr_name, | ||
char * | text_name | ||
) |
struct objfile_data* dbx_objfile_data_key |