23#include "gdbsupport/function-view.h"
223 const char *included);
247 const char *
name,
const char *replacement);
261 const char *
name,
int argc,
const char **argv,
262 const char *replacement);
323 int line,
const char *
name);
335 int *definition_line);
348 gdb::function_view<macro_callback_fn> fn);
353 gdb::function_view<macro_callback_fn> fn);
void macro_for_each(struct macro_table *table, gdb::function_view< macro_callback_fn > fn)
struct macro_definition * macro_lookup_definition(struct macro_source_file *source, int line, const char *name)
struct macro_source_file * macro_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)
struct macro_table * new_macro_table(struct obstack *obstack, gdb::bcache *bcache, struct compunit_symtab *cust)
struct macro_source_file * macro_definition_location(struct macro_source_file *source, int line, const char *name, int *definition_line)
struct macro_source_file * macro_include(struct macro_source_file *source, int line, const char *included)
void free_macro_table(struct macro_table *table)
std::string macro_source_fullname(struct macro_source_file *file)
struct macro_source_file * macro_main(struct macro_table *table)
void macro_for_each_in_scope(struct macro_source_file *file, int line, gdb::function_view< macro_callback_fn > fn)
void macro_define_function(struct macro_source_file *source, int line, const char *name, int argc, const char **argv, const char *replacement)
void macro_define_special(struct macro_table *table)
void macro_callback_fn(const char *name, const struct macro_definition *definition, struct macro_source_file *source, int line)
struct macro_source_file * macro_set_main(struct macro_table *table, const char *filename)
void macro_allow_redefinitions(struct macro_table *table)
void macro_undef(struct macro_source_file *source, int line, const char *name)
struct macro_table * table
__extension__ enum macro_kind kind
struct macro_source_file * includes
struct macro_source_file * included_by
struct macro_table * table
struct macro_source_file * next_included