GDB (xrefs)
Loading...
Searching...
No Matches
Functions
macroexp.h File Reference

Go to the source code of this file.

Functions

gdb::unique_xmalloc_ptr< char > macro_expand (const char *source, const macro_scope &scope)
 
gdb::unique_xmalloc_ptr< char > macro_expand_once (const char *source, const macro_scope &scope)
 
gdb::unique_xmalloc_ptr< char > macro_expand_next (const char **lexptr, const macro_scope &scope)
 
int macro_is_whitespace (int c)
 
int macro_is_identifier_nondigit (int c)
 
int macro_is_digit (int c)
 
gdb::unique_xmalloc_ptr< char > macro_stringify (const char *str)
 

Function Documentation

◆ macro_expand()

gdb::unique_xmalloc_ptr< char > macro_expand ( const char * source,
const macro_scope & scope )

◆ macro_expand_next()

gdb::unique_xmalloc_ptr< char > macro_expand_next ( const char ** lexptr,
const macro_scope & scope )

◆ macro_expand_once()

gdb::unique_xmalloc_ptr< char > macro_expand_once ( const char * source,
const macro_scope & scope )

Definition at line 1414 of file macroexp.c.

Referenced by macro_expand_once_command().

◆ macro_is_digit()

int macro_is_digit ( int c)

Definition at line 187 of file macroexp.c.

Referenced by extract_identifier(), get_identifier(), and get_pp_number().

◆ macro_is_identifier_nondigit()

int macro_is_identifier_nondigit ( int c)

Definition at line 194 of file macroexp.c.

Referenced by extract_identifier(), get_identifier(), and get_pp_number().

◆ macro_is_whitespace()

int macro_is_whitespace ( int c)

Definition at line 176 of file macroexp.c.

Referenced by get_token(), skip_ws(), and stringify().

◆ macro_stringify()

gdb::unique_xmalloc_ptr< char > macro_stringify ( const char * str)