GDB (API)
Defines | Functions | Variables
/home/stan/gdb/src/gdb/psymtab.c File Reference
#include "defs.h"
#include "symtab.h"
#include "psympriv.h"
#include "objfiles.h"
#include "gdb_assert.h"
#include "block.h"
#include "filenames.h"
#include "source.h"
#include "addrmap.h"
#include "gdbtypes.h"
#include "bcache.h"
#include "ui-out.h"
#include "command.h"
#include "readline/readline.h"
#include "gdb_regex.h"
#include "dictionary.h"
#include "language.h"
#include "cp-support.h"
#include "gdbcmd.h"

Go to the source code of this file.

Defines

#define DEV_TTY   "/dev/tty"
#define ALL_OBJFILE_PSYMTABS_REQUIRED(objfile, p)
#define ALL_PSYMTABS(objfile, p)

Functions

struct objfilerequire_partial_symbols (struct objfile *objfile, int verbose)
void sort_pst_symbols (struct objfile *objfile, struct partial_symtab *pst)
struct partial_symtabstart_psymtab_common (struct objfile *objfile, struct section_offsets *section_offsets, const char *filename, CORE_ADDR textlow, struct partial_symbol **global_syms, struct partial_symbol **static_syms)
struct psymbol_bcache * psymbol_bcache_init (void)
void psymbol_bcache_free (struct psymbol_bcache *bcache)
struct bcachepsymbol_bcache_get_bcache (struct psymbol_bcache *bcache)
void add_psymbol_to_list (const char *name, int namelength, int copy_name, domain_enum domain, enum address_class class, struct psymbol_allocation_list *list, long val, CORE_ADDR coreaddr, enum language language, struct objfile *objfile)
void init_psymbol_list (struct objfile *objfile, int total_symbols)
struct partial_symtaballocate_psymtab (const char *filename, struct objfile *objfile)
void discard_psymtab (struct objfile *objfile, struct partial_symtab *pst)
struct cleanup * make_cleanup_discard_psymtabs (struct objfile *objfile)
void expand_partial_symbol_names (int(*fun)(const char *, void *), void *data)
void map_partial_symbol_filenames (symbol_filename_ftype *fun, void *data, int need_fullname)
void _initialize_psymtab (void)

Variables

struct quick_symbol_functions psym_functions
initialize_file_ftype _initialize_psymtab

Define Documentation

#define ALL_OBJFILE_PSYMTABS_REQUIRED (   objfile,
  p 
)
Value:
for ((p) = require_partial_symbols (objfile, 1)->psymtabs;      \
         (p) != NULL;                                           \
         (p) = (p)->next)

Definition at line 113 of file psymtab.c.

#define ALL_PSYMTABS (   objfile,
  p 
)
Value:
ALL_OBJFILES (objfile)   \
    ALL_OBJFILE_PSYMTABS_REQUIRED (objfile, p)

Definition at line 124 of file psymtab.c.

#define DEV_TTY   "/dev/tty"

Definition at line 41 of file psymtab.c.


Function Documentation

void _initialize_psymtab ( void  )

Definition at line 2122 of file psymtab.c.

void add_psymbol_to_list ( const char *  name,
int  namelength,
int  copy_name,
domain_enum  domain,
enum address_class  class,
struct psymbol_allocation_list list,
long  val,
CORE_ADDR  coreaddr,
enum language language  ,
struct objfile objfile 
)

Definition at line 1665 of file psymtab.c.

struct partial_symtab* allocate_psymtab ( const char *  filename,
struct objfile objfile 
) [read]

Definition at line 1730 of file psymtab.c.

void discard_psymtab ( struct objfile objfile,
struct partial_symtab pst 
)

Definition at line 1780 of file psymtab.c.

void expand_partial_symbol_names ( int(*)(const char *, void *)  fun,
void *  data 
)

Definition at line 2092 of file psymtab.c.

void init_psymbol_list ( struct objfile objfile,
int  total_symbols 
)

Definition at line 1693 of file psymtab.c.

struct cleanup* make_cleanup_discard_psymtabs ( struct objfile objfile) [read]

Definition at line 1832 of file psymtab.c.

void map_partial_symbol_filenames ( symbol_filename_ftype fun,
void *  data,
int  need_fullname 
)

Definition at line 2106 of file psymtab.c.

void psymbol_bcache_free ( struct psymbol_bcache *  bcache)

Definition at line 1540 of file psymtab.c.

struct bcache* psymbol_bcache_get_bcache ( struct psymbol_bcache *  bcache) [read]

Definition at line 1552 of file psymtab.c.

struct psymbol_bcache* psymbol_bcache_init ( void  ) [read]

Definition at line 1531 of file psymtab.c.

struct objfile* require_partial_symbols ( struct objfile objfile,
int  verbose 
) [read]

Definition at line 78 of file psymtab.c.

void sort_pst_symbols ( struct objfile objfile,
struct partial_symtab pst 
)

Definition at line 1455 of file psymtab.c.

struct partial_symtab* start_psymtab_common ( struct objfile objfile,
struct section_offsets section_offsets,
const char *  filename,
CORE_ADDR  textlow,
struct partial_symbol **  global_syms,
struct partial_symbol **  static_syms 
) [read]

Definition at line 1470 of file psymtab.c.


Variable Documentation

Initial value:
{
  objfile_has_psyms,
  find_last_source_symtab_from_partial,
  forget_cached_source_info_partial,
  partial_map_symtabs_matching_filename,
  lookup_symbol_aux_psymtabs,
  print_psymtab_stats_for_objfile,
  dump_psymtabs_for_objfile,
  relocate_psymtabs,
  read_symtabs_for_function,
  expand_partial_symbol_tables,
  read_psymtabs_with_fullname,
  map_matching_symbols_psymtab,
  expand_symtabs_matching_via_partial,
  find_pc_sect_symtab_from_partial,
  map_symbol_filenames_psymtab
}

Definition at line 1420 of file psymtab.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines