GDB (xrefs)
|
#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_scope > | sal_macro_scope (struct symtab_and_line sal) |
gdb::unique_xmalloc_ptr< struct macro_scope > | user_macro_scope (void) |
gdb::unique_xmalloc_ptr< struct macro_scope > | default_macro_scope (void) |
struct macro_definition * | standard_macro_lookup (const char *name, const macro_scope &ms) |
void | _initialize_macroscope () |
Variables | |
struct macro_table * | macro_user_macros |
void _initialize_macroscope | ( | ) |
Definition at line 158 of file macroscope.c.
Referenced by initialize_all_files().
gdb::unique_xmalloc_ptr< struct macro_scope > default_macro_scope | ( | void | ) |
Definition at line 99 of file macroscope.c.
References deprecated_safe_get_selected_frame(), find_pc_line(), get_current_source_symtab_and_line(), get_frame_pc_if_available(), symtab_and_line::line, symtab_and_line::pc, sal_macro_scope(), symtab_and_line::symtab, and user_macro_scope().
Referenced by c_parse(), default_collect_symbol_completion_matches_break_on(), info_macro_command(), info_macros_command(), macro_expand_command(), macro_expand_once_command(), and write_macro_definitions().
gdb::unique_xmalloc_ptr< struct macro_scope > sal_macro_scope | ( | struct symtab_and_line | sal | ) |
Definition at line 39 of file macroscope.c.
References complaint, symtab::compunit(), symtab::filename_for_id, symtab_and_line::line, macro_lookup_inclusion(), macro_main(), compunit_symtab::macro_table(), symtab_and_line::symtab, and symtab_to_filename_for_display().
Referenced by c_parse(), default_macro_scope(), info_macros_command(), and write_macro_definitions().
struct macro_definition * standard_macro_lookup | ( | const char * | name, |
const macro_scope & | ms ) |
Definition at line 144 of file macroscope.c.
References macro_scope::file, macro_scope::line, macro_lookup_definition(), macro_main(), macro_user_macros, and name.
Referenced by maybe_expand().
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().
struct macro_table* macro_user_macros |
Definition at line 35 of file macroscope.c.
Referenced by default_collect_symbol_completion_matches_break_on(), macro_define_command(), macro_list_command(), macro_undef_command(), standard_macro_lookup(), and user_macro_scope().