GDB (xrefs)
Loading...
Searching...
No Matches
Functions | Variables
macroscope.c File Reference
#include "defs.h"
#include "macroscope.h"
#include "symtab.h"
#include "source.h"
#include "target.h"
#include "frame.h"
#include "inferior.h"
#include "complaints.h"

Go to the source code of this file.

Functions

gdb::unique_xmalloc_ptr< struct macro_scopesal_macro_scope (struct symtab_and_line sal)
 
gdb::unique_xmalloc_ptr< struct macro_scopeuser_macro_scope (void)
 
gdb::unique_xmalloc_ptr< struct macro_scopedefault_macro_scope (void)
 
struct macro_definitionstandard_macro_lookup (const char *name, const macro_scope &ms)
 
void _initialize_macroscope ()
 

Variables

struct macro_tablemacro_user_macros
 

Function Documentation

◆ _initialize_macroscope()

void _initialize_macroscope ( )

Definition at line 158 of file macroscope.c.

Referenced by initialize_all_files().

◆ default_macro_scope()

gdb::unique_xmalloc_ptr< struct macro_scope > default_macro_scope ( void )

◆ sal_macro_scope()

gdb::unique_xmalloc_ptr< struct macro_scope > sal_macro_scope ( struct symtab_and_line sal)

◆ standard_macro_lookup()

struct macro_definition * standard_macro_lookup ( const char * name,
const macro_scope & ms )

◆ user_macro_scope()

gdb::unique_xmalloc_ptr< struct macro_scope > user_macro_scope ( void )

Definition at line 90 of file macroscope.c.

References macro_main(), and macro_user_macros.

Referenced by c_parse(), default_macro_scope(), and write_macro_definitions().

Variable Documentation

◆ macro_user_macros

struct macro_table* macro_user_macros