GDB (API)
Defines | Functions
/home/stan/gdb/src/gdb/buildsym.c File Reference
#include "defs.h"
#include "bfd.h"
#include "gdb_obstack.h"
#include "symtab.h"
#include "symfile.h"
#include "objfiles.h"
#include "gdbtypes.h"
#include "gdb_assert.h"
#include "complaints.h"
#include "gdb_string.h"
#include "expression.h"
#include "bcache.h"
#include "filenames.h"
#include "macrotab.h"
#include "demangle.h"
#include "block.h"
#include "cp-support.h"
#include "dictionary.h"
#include "addrmap.h"
#include "buildsym.h"
#include "stabsread.h"

Go to the source code of this file.

Defines

#define EXTERN
#define INITIAL_CONTEXT_STACK_SIZE   10
#define INITIAL_LINE_VECTOR_LENGTH   1000

Functions

void add_symbol_to_list (struct symbol *symbol, struct pending **listhead)
struct symbolfind_symbol_in_list (struct pending *list, char *name, int length)
void really_free_pendings (void *dummy)
void free_pending_blocks (void)
struct blockfinish_block (struct symbol *symbol, struct pending **listhead, struct pending_block *old_blocks, CORE_ADDR start, CORE_ADDR end, struct objfile *objfile)
void record_block_range (struct block *block, CORE_ADDR start, CORE_ADDR end_inclusive)
void start_subfile (const char *name, const char *dirname)
void patch_subfile_names (struct subfile *subfile, char *name)
void push_subfile (void)
char * pop_subfile (void)
void record_line (struct subfile *subfile, int line, CORE_ADDR pc)
struct macro_table * get_macro_table (struct objfile *objfile, const char *comp_dir)
void start_symtab (const char *name, const char *dirname, CORE_ADDR start_addr)
void restart_symtab (CORE_ADDR start_addr)
struct blockend_symtab_get_static_block (CORE_ADDR end_addr, struct objfile *objfile, int expandable, int required)
struct symtabend_symtab_from_static_block (struct block *static_block, struct objfile *objfile, int section, int expandable)
struct symtabend_symtab (CORE_ADDR end_addr, struct objfile *objfile, int section)
struct symtabend_expandable_symtab (CORE_ADDR end_addr, struct objfile *objfile, int section)
void augment_type_symtab (struct objfile *objfile, struct symtab *primary_symtab)
struct context_stackpush_context (int desc, CORE_ADDR valu)
struct context_stackpop_context (void)
int hashname (const char *name)
void record_debugformat (const char *format)
void record_producer (const char *producer)
void merge_symbol_lists (struct pending **srclist, struct pending **targetlist)
void set_last_source_file (const char *name)
const char * get_last_source_file (void)
void buildsym_init (void)
void buildsym_new_init (void)

Define Documentation

#define EXTERN

Definition at line 47 of file buildsym.c.

#define INITIAL_CONTEXT_STACK_SIZE   10

Definition at line 128 of file buildsym.c.

#define INITIAL_LINE_VECTOR_LENGTH   1000

Definition at line 129 of file buildsym.c.


Function Documentation

void add_symbol_to_list ( struct symbol symbol,
struct pending **  listhead 
)

Definition at line 137 of file buildsym.c.

void augment_type_symtab ( struct objfile objfile,
struct symtab primary_symtab 
)

Definition at line 1392 of file buildsym.c.

void buildsym_init ( void  )

Definition at line 1558 of file buildsym.c.

void buildsym_new_init ( void  )

Definition at line 1578 of file buildsym.c.

struct symtab* end_expandable_symtab ( CORE_ADDR  end_addr,
struct objfile objfile,
int  section 
) [read]

Definition at line 1359 of file buildsym.c.

struct symtab* end_symtab ( CORE_ADDR  end_addr,
struct objfile objfile,
int  section 
) [read]

Definition at line 1348 of file buildsym.c.

struct symtab* end_symtab_from_static_block ( struct block static_block,
struct objfile objfile,
int  section,
int  expandable 
) [read]

Definition at line 1121 of file buildsym.c.

struct block* end_symtab_get_static_block ( CORE_ADDR  end_addr,
struct objfile objfile,
int  expandable,
int  required 
) [read]

Definition at line 1023 of file buildsym.c.

struct symbol* find_symbol_in_list ( struct pending list,
char *  name,
int  length 
) [read]

Definition at line 171 of file buildsym.c.

struct block* finish_block ( struct symbol symbol,
struct pending **  listhead,
struct pending_block *  old_blocks,
CORE_ADDR  start,
CORE_ADDR  end,
struct objfile objfile 
) [read]

Definition at line 431 of file buildsym.c.

void free_pending_blocks ( void  )

Definition at line 236 of file buildsym.c.

const char* get_last_source_file ( void  )

Definition at line 1546 of file buildsym.c.

struct macro_table* get_macro_table ( struct objfile objfile,
const char *  comp_dir 
) [read]

Definition at line 843 of file buildsym.c.

int hashname ( const char *  name)

Definition at line 1481 of file buildsym.c.

void merge_symbol_lists ( struct pending **  srclist,
struct pending **  targetlist 
)

Definition at line 1508 of file buildsym.c.

void patch_subfile_names ( struct subfile subfile,
char *  name 
)

Definition at line 688 of file buildsym.c.

struct context_stack* pop_context ( void  ) [read]

Definition at line 1470 of file buildsym.c.

char* pop_subfile ( void  )

Definition at line 739 of file buildsym.c.

struct context_stack* push_context ( int  desc,
CORE_ADDR  valu 
) [read]

Definition at line 1440 of file buildsym.c.

void push_subfile ( void  )

Definition at line 723 of file buildsym.c.

void really_free_pendings ( void *  dummy)

Definition at line 196 of file buildsym.c.

void record_block_range ( struct block block,
CORE_ADDR  start,
CORE_ADDR  end_inclusive 
)

Definition at line 481 of file buildsym.c.

void record_debugformat ( const char *  format)

Definition at line 1488 of file buildsym.c.

void record_line ( struct subfile subfile,
int  line,
CORE_ADDR  pc 
)

Definition at line 759 of file buildsym.c.

void record_producer ( const char *  producer)

Definition at line 1494 of file buildsym.c.

void restart_symtab ( CORE_ADDR  start_addr)

Definition at line 875 of file buildsym.c.

void set_last_source_file ( const char *  name)

Definition at line 1537 of file buildsym.c.

void start_subfile ( const char *  name,
const char *  dirname 
)

Definition at line 575 of file buildsym.c.

void start_symtab ( const char *  name,
const char *  dirname,
CORE_ADDR  start_addr 
)

Definition at line 862 of file buildsym.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines