GDB (API)
Functions
/home/stan/gdb/src/gdb/macrotab.c File Reference
#include "defs.h"
#include "gdb_obstack.h"
#include "splay-tree.h"
#include "filenames.h"
#include "symtab.h"
#include "symfile.h"
#include "objfiles.h"
#include "macrotab.h"
#include "gdb_assert.h"
#include "bcache.h"
#include "complaints.h"
#include "macroexp.h"

Go to the source code of this file.

Functions

struct macro_source_filemacro_set_main (struct macro_table *t, const char *filename)
struct macro_source_filemacro_main (struct macro_table *t)
void macro_allow_redefinitions (struct macro_table *t)
struct macro_source_filemacro_include (struct macro_source_file *source, int line, const char *included)
struct macro_source_filemacro_lookup_inclusion (struct macro_source_file *source, const char *name)
void macro_define_object (struct macro_source_file *source, int line, const char *name, const char *replacement)
void macro_define_special (struct macro_table *table)
void macro_define_function (struct macro_source_file *source, int line, const char *name, int argc, const char **argv, const char *replacement)
void macro_undef (struct macro_source_file *source, int line, const char *name)
struct macro_definitionmacro_lookup_definition (struct macro_source_file *source, int line, const char *name)
struct macro_source_filemacro_definition_location (struct macro_source_file *source, int line, const char *name, int *definition_line)
void macro_for_each (struct macro_table *table, macro_callback_fn fn, void *user_data)
void macro_for_each_in_scope (struct macro_source_file *file, int line, macro_callback_fn fn, void *user_data)
struct macro_table * new_macro_table (struct obstack *obstack, struct bcache *b, const char *comp_dir)
void free_macro_table (struct macro_table *table)
char * macro_source_fullname (struct macro_source_file *file)

Function Documentation

void free_macro_table ( struct macro_table *  table)

Definition at line 1082 of file macrotab.c.

void macro_allow_redefinitions ( struct macro_table *  t)

Definition at line 443 of file macrotab.c.

void macro_define_function ( struct macro_source_file source,
int  line,
const char *  name,
int  argc,
const char **  argv,
const char *  replacement 
)

Definition at line 802 of file macrotab.c.

void macro_define_object ( struct macro_source_file source,
int  line,
const char *  name,
const char *  replacement 
)

Definition at line 783 of file macrotab.c.

void macro_define_special ( struct macro_table *  table)

Definition at line 793 of file macrotab.c.

struct macro_source_file* macro_definition_location ( struct macro_source_file source,
int  line,
const char *  name,
int definition_line 
) [read]

Definition at line 943 of file macrotab.c.

void macro_for_each ( struct macro_table *  table,
macro_callback_fn  fn,
void *  user_data 
)

Definition at line 994 of file macrotab.c.

void macro_for_each_in_scope ( struct macro_source_file file,
int  line,
macro_callback_fn  fn,
void *  user_data 
)

Definition at line 1033 of file macrotab.c.

struct macro_source_file* macro_include ( struct macro_source_file source,
int  line,
const char *  included 
) [read]

Definition at line 451 of file macrotab.c.

struct macro_definition* macro_lookup_definition ( struct macro_source_file source,
int  line,
const char *  name 
) [read]

Definition at line 921 of file macrotab.c.

struct macro_source_file* macro_lookup_inclusion ( struct macro_source_file source,
const char *  name 
) [read]

Definition at line 512 of file macrotab.c.

struct macro_source_file* macro_main ( struct macro_table *  t) [read]

Definition at line 434 of file macrotab.c.

struct macro_source_file* macro_set_main ( struct macro_table *  t,
const char *  filename 
) [read]

Definition at line 420 of file macrotab.c.

char* macro_source_fullname ( struct macro_source_file file)

Definition at line 1094 of file macrotab.c.

void macro_undef ( struct macro_source_file source,
int  line,
const char *  name 
)

Definition at line 830 of file macrotab.c.

struct macro_table* new_macro_table ( struct obstack *  obstack,
struct bcache b,
const char *  comp_dir 
) [read]

Definition at line 1052 of file macrotab.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines