GDB (API)
Classes | Defines | Functions | Variables
/home/stan/gdb/src/gdb/buildsym.h File Reference

Go to the source code of this file.

Classes

struct  subfile
struct  pending
struct  context_stack

Defines

#define HASHSIZE
#define PENDINGSIZE   100
#define outermost_context_p()   (context_stack_depth == 0)
#define next_symbol_text(objfile)   (*next_symbol_text_func)(objfile)

Functions

void add_symbol_to_list (struct symbol *symbol, struct pending **listhead)
struct symbolfind_symbol_in_list (struct pending *list, char *name, int length)
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 *, CORE_ADDR start, CORE_ADDR end_inclusive)
void really_free_pendings (void *dummy)
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)
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)
void scan_file_globals (struct objfile *objfile)
void buildsym_new_init (void)
void buildsym_init (void)
struct context_stackpush_context (int desc, CORE_ADDR valu)
struct context_stackpop_context (void)
void record_line (struct subfile *subfile, int line, CORE_ADDR pc)
void start_symtab (const char *name, const char *dirname, CORE_ADDR start_addr)
void restart_symtab (CORE_ADDR start_addr)
int hashname (const char *name)
void free_pending_blocks (void)
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)
struct macro_table * get_macro_table (struct objfile *objfile, const char *comp_dir)

Variables

EXTERN CORE_ADDR last_source_start_addr
EXTERN struct subfilecurrent_subfile
EXTERN unsigned char processing_gcc_compilation
EXTERN unsigned char processing_acc_compilation
EXTERN unsigned int symnum
EXTERN struct pendingfile_symbols
EXTERN struct pendingglobal_symbols
EXTERN struct pendinglocal_symbols
EXTERN struct using_directusing_directives
EXTERN struct context_stackcontext_stack
EXTERN int context_stack_depth
EXTERN int context_stack_size
EXTERN int within_function
EXTERN char *(* next_symbol_text_func )(struct objfile *)

Define Documentation

#define HASHSIZE
Value:
127             /* Size of things hashed via
                                   hashname().  */

Definition at line 45 of file buildsym.h.

Definition at line 175 of file buildsym.h.

#define outermost_context_p ( )    (context_stack_depth == 0)

Definition at line 166 of file buildsym.h.

#define PENDINGSIZE   100

Definition at line 93 of file buildsym.h.


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 ,
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 scan_file_globals ( struct objfile objfile)

Definition at line 4608 of file stabsread.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.


Variable Documentation

Definition at line 155 of file buildsym.h.

Definition at line 159 of file buildsym.h.

Definition at line 163 of file buildsym.h.

Definition at line 70 of file buildsym.h.

Definition at line 106 of file buildsym.h.

Definition at line 110 of file buildsym.h.

Definition at line 51 of file buildsym.h.

Definition at line 114 of file buildsym.h.

EXTERN char*(* next_symbol_text_func)(struct objfile *)

Definition at line 179 of file buildsym.h.

Definition at line 83 of file buildsym.h.

Definition at line 75 of file buildsym.h.

EXTERN unsigned int symnum

Definition at line 87 of file buildsym.h.

Definition at line 118 of file buildsym.h.

Definition at line 171 of file buildsym.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines