GDB (API)
Defines | Functions
/home/stan/gdb/src/gdb/stabsread.c File Reference
#include "defs.h"
#include "gdb_string.h"
#include "bfd.h"
#include "gdb_obstack.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "symfile.h"
#include "objfiles.h"
#include "aout/stab_gnu.h"
#include "libaout.h"
#include "aout/aout64.h"
#include "gdb-stabs.h"
#include "buildsym.h"
#include "complaints.h"
#include "demangle.h"
#include "gdb-demangle.h"
#include "language.h"
#include "doublest.h"
#include "cp-abi.h"
#include "cp-support.h"
#include "gdb_assert.h"
#include <ctype.h>
#include "stabsread.h"

Go to the source code of this file.

Defines

#define EXTERN
#define STABS_CONTINUE(pp, objfile)
#define INITIAL_TYPE_VECTOR_LENGTH   160
#define VISIBILITY_PRIVATE   '0' /* Stabs character for private field */
#define VISIBILITY_PROTECTED   '1' /* Stabs character for protected fld */
#define VISIBILITY_PUBLIC   '2' /* Stabs character for public field */
#define VISIBILITY_IGNORE   '9' /* Optimized out or zero length */
#define MAX_CHUNK_REFS   100
#define REF_CHUNK_SIZE   (MAX_CHUNK_REFS * sizeof (struct ref_map))
#define REF_MAP_SIZE(ref_chunk)   ((ref_chunk) * REF_CHUNK_SIZE)
#define NUMBER_RECOGNIZED   34

Functions

void _initialize_stabsread (void)
void stabsread_clear_cache (void)
void ref_add (int refnum, struct symbol *sym, char *stabs, CORE_ADDR value)
struct symbolref_search (int refnum)
int symbol_reference_defined (char **string)
struct symboldefine_symbol (CORE_ADDR valu, char *string, int desc, int type, struct objfile *objfile)
void common_block_start (char *name, struct objfile *objfile)
void common_block_end (struct objfile *objfile)
void cleanup_undefined_stabs_types (struct objfile *objfile)
void scan_file_globals (struct objfile *objfile)
void stabsread_init (void)
void stabsread_new_init (void)
void start_stabs (void)
void end_stabs (void)
void finish_global_stabs (struct objfile *objfile)

Define Documentation

#define EXTERN

Definition at line 52 of file stabsread.c.

#define INITIAL_TYPE_VECTOR_LENGTH   160

Definition at line 226 of file stabsread.c.

#define MAX_CHUNK_REFS   100

Definition at line 487 of file stabsread.c.

#define NUMBER_RECOGNIZED   34
#define REF_CHUNK_SIZE   (MAX_CHUNK_REFS * sizeof (struct ref_map))

Definition at line 488 of file stabsread.c.

#define REF_MAP_SIZE (   ref_chunk)    ((ref_chunk) * REF_CHUNK_SIZE)

Definition at line 489 of file stabsread.c.

#define STABS_CONTINUE (   pp,
  objfile 
)
Value:
do {                                                    \
    if (**(pp) == '\\' || (**(pp) == '?' && (*(pp))[1] == '\0')) \
      *(pp) = next_symbol_text (objfile);       \
  } while (0)

Definition at line 205 of file stabsread.c.

#define VISIBILITY_IGNORE   '9' /* Optimized out or zero length */

Definition at line 475 of file stabsread.c.

#define VISIBILITY_PRIVATE   '0' /* Stabs character for private field */

Definition at line 472 of file stabsread.c.

#define VISIBILITY_PROTECTED   '1' /* Stabs character for protected fld */

Definition at line 473 of file stabsread.c.

#define VISIBILITY_PUBLIC   '2' /* Stabs character for public field */

Definition at line 474 of file stabsread.c.


Function Documentation

void _initialize_stabsread ( void  )
void cleanup_undefined_stabs_types ( struct objfile objfile)

Definition at line 4597 of file stabsread.c.

void common_block_end ( struct objfile objfile)

Definition at line 4338 of file stabsread.c.

void common_block_start ( char *  name,
struct objfile objfile 
)

Definition at line 4322 of file stabsread.c.

struct symbol* define_symbol ( CORE_ADDR  valu,
char *  string,
int  desc,
int  type,
struct objfile objfile 
) [read]

Definition at line 626 of file stabsread.c.

void end_stabs ( void  )

Definition at line 4780 of file stabsread.c.

void finish_global_stabs ( struct objfile objfile)

Definition at line 4792 of file stabsread.c.

void ref_add ( int  refnum,
struct symbol sym,
char *  stabs,
CORE_ADDR  value 
)

Definition at line 514 of file stabsread.c.

struct symbol* ref_search ( int  refnum) [read]

Definition at line 538 of file stabsread.c.

void scan_file_globals ( struct objfile objfile)

Definition at line 4608 of file stabsread.c.

void stabsread_clear_cache ( void  )

Definition at line 503 of file stabsread.c.

void stabsread_init ( void  )

Definition at line 4746 of file stabsread.c.

void stabsread_new_init ( void  )

Definition at line 4755 of file stabsread.c.

void start_stabs ( void  )

Definition at line 4765 of file stabsread.c.

int symbol_reference_defined ( char **  string)

Definition at line 574 of file stabsread.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines