GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Functions
buildsym-legacy.h File Reference
#include "buildsym.h"

Go to the source code of this file.

Classes

class  scoped_free_pendings
 

Functions

struct blockfinish_block (struct symbol *symbol, struct pending_block *old_blocks, const struct dynamic_prop *static_link, CORE_ADDR start, CORE_ADDR end)
 
void start_subfile (const char *name)
 
void patch_subfile_names (struct subfile *subfile, const char *name)
 
void push_subfile ()
 
const char * pop_subfile ()
 
struct compunit_symtabend_compunit_symtab (CORE_ADDR end_addr)
 
struct context_stackpush_context (int desc, CORE_ADDR valu)
 
struct context_stack pop_context ()
 
void record_line (struct subfile *subfile, int line, unrelocated_addr pc)
 
struct compunit_symtabstart_compunit_symtab (struct objfile *objfile, const char *name, const char *comp_dir, CORE_ADDR start_addr, enum language language)
 
void record_debugformat (const char *format)
 
void record_producer (const char *producer)
 
void set_last_source_file (const char *name)
 
const char * get_last_source_file (void)
 
void set_last_source_start_addr (CORE_ADDR addr)
 
CORE_ADDR get_last_source_start_addr ()
 
bool outermost_context_p ()
 
int get_context_stack_depth ()
 
struct subfileget_current_subfile ()
 
struct pending ** get_local_symbols ()
 
struct pending ** get_file_symbols ()
 
struct pending ** get_global_symbols ()
 
struct buildsym_compunitget_buildsym_compunit ()
 

Function Documentation

◆ end_compunit_symtab()

struct compunit_symtab * end_compunit_symtab ( CORE_ADDR end_addr)
extern

◆ finish_block()

struct block * finish_block ( struct symbol * symbol,
struct pending_block * old_blocks,
const struct dynamic_prop * static_link,
CORE_ADDR start,
CORE_ADDR end )
extern

◆ get_buildsym_compunit()

struct buildsym_compunit * get_buildsym_compunit ( )
extern

Definition at line 257 of file buildsym-legacy.c.

References buildsym_compunit.

Referenced by define_symbol().

◆ get_context_stack_depth()

int get_context_stack_depth ( )
extern

Definition at line 92 of file buildsym-legacy.c.

References buildsym_compunit::get_context_stack_depth().

Referenced by process_one_symbol().

◆ get_current_subfile()

struct subfile * get_current_subfile ( )
extern

◆ get_file_symbols()

struct pending ** get_file_symbols ( )
extern

◆ get_global_symbols()

struct pending ** get_global_symbols ( )
extern

◆ get_last_source_file()

const char * get_last_source_file ( void )
extern

◆ get_last_source_start_addr()

CORE_ADDR get_last_source_start_addr ( )
extern

◆ get_local_symbols()

struct pending ** get_local_symbols ( )
extern

◆ outermost_context_p()

bool outermost_context_p ( )
extern

◆ patch_subfile_names()

void patch_subfile_names ( struct subfile * subfile,
const char * name )
extern

Definition at line 142 of file buildsym-legacy.c.

References name, and buildsym_compunit::patch_subfile_names().

Referenced by process_one_symbol().

◆ pop_context()

struct context_stack pop_context ( )
extern

◆ pop_subfile()

const char * pop_subfile ( )
extern

Definition at line 156 of file buildsym-legacy.c.

References buildsym_compunit::pop_subfile().

Referenced by process_linenos(), and process_one_symbol().

◆ push_context()

struct context_stack * push_context ( int desc,
CORE_ADDR valu )
extern

◆ push_subfile()

void push_subfile ( )
extern

Definition at line 149 of file buildsym-legacy.c.

References buildsym_compunit::push_subfile().

Referenced by process_linenos(), and process_one_symbol().

◆ record_debugformat()

void record_debugformat ( const char * format)
extern

◆ record_line()

void record_line ( struct subfile * subfile,
int line,
unrelocated_addr pc )
extern

◆ record_producer()

void record_producer ( const char * producer)
extern

Definition at line 35 of file buildsym-legacy.c.

References buildsym_compunit::record_producer().

◆ set_last_source_file()

void set_last_source_file ( const char * name)
extern

◆ set_last_source_start_addr()

void set_last_source_start_addr ( CORE_ADDR addr)
extern

◆ start_compunit_symtab()

struct compunit_symtab * start_compunit_symtab ( struct objfile * objfile,
const char * name,
const char * comp_dir,
CORE_ADDR start_addr,
enum language language )
extern

◆ start_subfile()

void start_subfile ( const char * name)
extern

Definition at line 135 of file buildsym-legacy.c.

References name, and buildsym_compunit::start_subfile().

Referenced by process_linenos(), and process_one_symbol().