GDB (xrefs)
|
#include "defs.h"
#include "macrotab.h"
#include "macroexp.h"
#include "macroscope.h"
#include "cli/cli-style.h"
#include "cli/cli-utils.h"
#include "command.h"
#include "gdbcmd.h"
#include "linespec.h"
Go to the source code of this file.
Classes | |
struct | temporary_macro_definition |
Functions | |
static void | macro_inform_no_debuginfo (void) |
static void | macro_expand_command (const char *exp, int from_tty) |
static void | macro_expand_once_command (const char *exp, int from_tty) |
static void | show_pp_source_pos (struct ui_file *stream, struct macro_source_file *file, int line) |
static void | print_macro_definition (const char *name, const struct macro_definition *d, struct macro_source_file *file, int line) |
static void | info_macro_command (const char *args, int from_tty) |
static void | info_macros_command (const char *args, int from_tty) |
static void | skip_ws (const char **expp) |
static gdb::unique_xmalloc_ptr< char > | extract_identifier (const char **expp, int is_parameter) |
static void | macro_define_command (const char *exp, int from_tty) |
static void | macro_undef_command (const char *exp, int from_tty) |
static void | print_one_macro (const char *name, const struct macro_definition *macro, struct macro_source_file *source, int line) |
static void | macro_list_command (const char *exp, int from_tty) |
void | _initialize_macrocmd () |
Variables | |
static struct cmd_list_element * | macrolist |
void _initialize_macrocmd | ( | ) |
Definition at line 451 of file macrocmd.c.
Referenced by initialize_all_files().
|
static |
Definition at line 281 of file macrocmd.c.
References macro_is_digit(), macro_is_identifier_nondigit(), and xmalloc().
Referenced by macro_define_command(), and macro_undef_command().
|
static |
Definition at line 170 of file macrocmd.c.
References default_macro_scope(), gdb_printf(), gdb_stdout, macro_definition_location(), macro_for_each(), macro_inform_no_debuginfo(), macro_lookup_definition(), name, print_macro_definition(), report_unrecognized_option_error(), and show_pp_source_pos().
|
static |
Definition at line 242 of file macrocmd.c.
References decode_line_with_current_source(), default_macro_scope(), macro_for_each_in_scope(), macro_inform_no_debuginfo(), print_macro_definition(), and sal_macro_scope().
|
static |
Definition at line 335 of file macrocmd.c.
References macro_definition::argc, macro_definition::argv, extract_identifier(), macro_definition::kind, macro_define_function(), macro_define_object(), macro_function_like, macro_main(), macro_user_macros, name, skip_ws(), and xrealloc().
|
static |
Definition at line 48 of file macrocmd.c.
References default_macro_scope(), gdb_puts(), macro_expand(), and macro_inform_no_debuginfo().
|
static |
Definition at line 76 of file macrocmd.c.
References default_macro_scope(), gdb_puts(), macro_expand_once(), and macro_inform_no_debuginfo().
|
static |
Definition at line 42 of file macrocmd.c.
References gdb_puts().
Referenced by info_macro_command(), info_macros_command(), macro_expand_command(), and macro_expand_once_command().
|
static |
Definition at line 442 of file macrocmd.c.
References macro_for_each(), macro_user_macros, and print_one_macro().
|
static |
Definition at line 409 of file macrocmd.c.
References extract_identifier(), macro_main(), macro_undef(), macro_user_macros, name, and skip_ws().
|
static |
Definition at line 135 of file macrocmd.c.
References macro_definition::argc, macro_definition::argv, gdb_printf(), gdb_puts(), gdb_stdout, macro_definition::kind, macro_function_like, name, macro_definition::replacement, and show_pp_source_pos().
Referenced by info_macro_command(), and info_macros_command().
|
static |
Definition at line 423 of file macrocmd.c.
References macro_definition::argc, macro_definition::argv, gdb_printf(), macro_definition::kind, macro_function_like, name, and macro_definition::replacement.
Referenced by macro_list_command().
|
static |
Definition at line 107 of file macrocmd.c.
References file_name_style, fputs_styled(), gdb_printf(), gdb_puts(), macro_source_fullname(), cli_style_option::style(), and styled_string().
Referenced by info_macro_command(), and print_macro_definition().
|
static |
Definition at line 267 of file macrocmd.c.
References macro_is_whitespace().
Referenced by macro_define_command(), and macro_undef_command().
|
static |
Definition at line 34 of file macrocmd.c.