GDB (xrefs)
|
#include "gdbsupport/gdb_vecs.h"
#include "gdbsupport/scoped_restore.h"
Go to the source code of this file.
Classes | |
struct | literal_def |
struct | setting_func_types_1< true, T > |
struct | setting_func_types_1< false, T > |
struct | setting_func_types< T > |
struct | setting |
struct | setting::erased_args |
struct | cli_suppress_notification |
struct | set_show_commands |
Macros | |
#define | CMD_LIST_AMBIGUOUS ((struct cmd_list_element *) -1) |
Typedefs | |
using | erased_func = void (*) () |
typedef void | cmd_simple_func_ftype(const char *args, int from_tty) |
typedef void | cmd_func_ftype(const char *args, int from_tty, cmd_list_element *c) |
typedef void | completer_ftype(struct cmd_list_element *, completion_tracker &tracker, const char *text, const char *word) |
typedef void | completer_handle_brkchars_ftype(struct cmd_list_element *, completion_tracker &tracker, const char *text, const char *word) |
typedef void | show_value_ftype(struct ui_file *file, int from_tty, struct cmd_list_element *cmd, const char *value) |
Enumerations | |
enum | command_class { all_classes = -2 , all_commands = -1 , no_class = -1 , class_run = 0 , class_vars , class_stack , class_files , class_support , class_info , class_breakpoint , class_trace , class_alias , class_bookmark , class_obscure , class_maintenance , class_tui , class_user , no_set_class } |
enum | var_types { var_boolean , var_auto_boolean , var_uinteger , var_integer , var_pinteger , var_string , var_string_noescape , var_optional_filename , var_filename , var_enum } |
Functions | |
template<typename T > | |
bool | var_type_uses (var_types var_type)=delete |
template<> | |
bool | var_type_uses< bool > (var_types t) |
template<> | |
bool | var_type_uses< enum auto_boolean > (var_types t) |
template<> | |
bool | var_type_uses< unsigned int > (var_types t) |
template<> | |
bool | var_type_uses< int > (var_types t) |
template<> | |
bool | var_type_uses< std::string > (var_types t) |
template<> | |
bool | var_type_uses< const char * > (var_types t) |
bool | valid_user_defined_cmd_name_p (const char *name) |
bool | valid_cmd_char_p (int c) |
struct cmd_list_element * | add_cmd (const char *, enum command_class, cmd_simple_func_ftype *fun, const char *, struct cmd_list_element **) |
struct cmd_list_element * | add_cmd (const char *, enum command_class, const char *, struct cmd_list_element **) |
struct cmd_list_element * | add_cmd_suppress_notification (const char *name, enum command_class theclass, cmd_simple_func_ftype *fun, const char *doc, struct cmd_list_element **list, bool *suppress_notification) |
struct cmd_list_element * | add_alias_cmd (const char *, cmd_list_element *, enum command_class, int, struct cmd_list_element **) |
struct cmd_list_element * | add_prefix_cmd (const char *, enum command_class, cmd_simple_func_ftype *fun, const char *, struct cmd_list_element **, int, struct cmd_list_element **) |
struct cmd_list_element * | add_basic_prefix_cmd (const char *, enum command_class, const char *, struct cmd_list_element **, int, struct cmd_list_element **) |
struct cmd_list_element * | add_show_prefix_cmd (const char *, enum command_class, const char *, struct cmd_list_element **, int, struct cmd_list_element **) |
set_show_commands | add_setshow_prefix_cmd (const char *name, command_class theclass, const char *set_doc, const char *show_doc, cmd_list_element **set_subcommands_list, cmd_list_element **show_subcommands_list, cmd_list_element **set_list, cmd_list_element **show_list) |
struct cmd_list_element * | add_prefix_cmd_suppress_notification (const char *name, enum command_class theclass, cmd_simple_func_ftype *fun, const char *doc, struct cmd_list_element **subcommands, int allow_unknown, struct cmd_list_element **list, bool *suppress_notification) |
struct cmd_list_element * | add_abbrev_prefix_cmd (const char *, enum command_class, cmd_simple_func_ftype *fun, const char *, struct cmd_list_element **, int, struct cmd_list_element **) |
void | set_cmd_completer (struct cmd_list_element *, completer_ftype *) |
void | set_cmd_completer_handle_brkchars (struct cmd_list_element *, completer_handle_brkchars_ftype *) |
int | cmd_simple_func_eq (struct cmd_list_element *cmd, cmd_simple_func_ftype *cfun) |
void | execute_cmd_pre_hook (struct cmd_list_element *cmd) |
void | execute_cmd_post_hook (struct cmd_list_element *cmd) |
struct cmd_list_element * | lookup_cmd (const char **, struct cmd_list_element *, const char *, std::string *, int, int) |
struct cmd_list_element * | lookup_cmd_1 (const char **text, struct cmd_list_element *clist, struct cmd_list_element **result_list, std::string *default_args, int ignore_help_classes, bool lookup_for_completion_p=false) |
struct cmd_list_element * | lookup_cmd_exact (const char *name, struct cmd_list_element *list, bool ignore_help_classes=true) |
struct cmd_list_element * | deprecate_cmd (struct cmd_list_element *, const char *) |
void | deprecated_cmd_warning (const char *, struct cmd_list_element *) |
int | lookup_cmd_composition (const char *text, struct cmd_list_element **alias, struct cmd_list_element **prefix_cmd, struct cmd_list_element **cmd) |
struct cmd_list_element * | add_com (const char *, enum command_class, cmd_simple_func_ftype *fun, const char *) |
cmd_list_element * | add_com_alias (const char *name, cmd_list_element *target, command_class theclass, int abbrev_flag) |
struct cmd_list_element * | add_com_suppress_notification (const char *name, enum command_class theclass, cmd_simple_func_ftype *fun, const char *doc, bool *suppress_notification) |
struct cmd_list_element * | add_info (const char *, cmd_simple_func_ftype *fun, const char *) |
cmd_list_element * | add_info_alias (const char *name, cmd_list_element *target, int abbrev_flag) |
void | complete_on_cmdlist (struct cmd_list_element *, completion_tracker &tracker, const char *, const char *, int) |
void | complete_on_enum (completion_tracker &tracker, const char *const *enumlist, const char *, const char *) |
void | help_list (struct cmd_list_element *, const char *, enum command_class, struct ui_file *) |
set_show_commands | add_setshow_enum_cmd (const char *name, command_class theclass, const char *const *enumlist, const char **var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_func_ftype *set_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_enum_cmd (const char *name, command_class theclass, const char *const *enumlist, const char *set_doc, const char *show_doc, const char *help_doc, setting_func_types< const char * >::set set_func, setting_func_types< const char * >::get get_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_auto_boolean_cmd (const char *name, command_class theclass, auto_boolean *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_func_ftype *set_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_auto_boolean_cmd (const char *name, command_class theclass, const char *set_doc, const char *show_doc, const char *help_doc, setting_func_types< enum auto_boolean >::set set_func, setting_func_types< enum auto_boolean >::get get_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_boolean_cmd (const char *name, command_class theclass, bool *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_func_ftype *set_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_boolean_cmd (const char *name, command_class theclass, const char *set_doc, const char *show_doc, const char *help_doc, setting_func_types< bool >::set set_func, setting_func_types< bool >::get get_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_filename_cmd (const char *name, command_class theclass, std::string *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_func_ftype *set_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_filename_cmd (const char *name, command_class theclass, const char *set_doc, const char *show_doc, const char *help_doc, setting_func_types< std::string >::set set_func, setting_func_types< std::string >::get get_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_string_cmd (const char *name, command_class theclass, std::string *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_func_ftype *set_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_string_cmd (const char *name, command_class theclass, const char *set_doc, const char *show_doc, const char *help_doc, setting_func_types< std::string >::set set_func, setting_func_types< std::string >::get get_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_string_noescape_cmd (const char *name, command_class theclass, std::string *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_func_ftype *set_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_string_noescape_cmd (const char *name, command_class theclass, const char *set_doc, const char *show_doc, const char *help_doc, setting_func_types< std::string >::set set_func, setting_func_types< std::string >::get get_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_optional_filename_cmd (const char *name, command_class theclass, std::string *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_func_ftype *set_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_optional_filename_cmd (const char *name, command_class theclass, const char *set_doc, const char *show_doc, const char *help_doc, setting_func_types< std::string >::set set_func, setting_func_types< std::string >::get get_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_integer_cmd (const char *name, command_class theclass, int *var, const literal_def *extra_literals, const char *set_doc, const char *show_doc, const char *help_doc, cmd_func_ftype *set_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_integer_cmd (const char *name, command_class theclass, const literal_def *extra_literals, const char *set_doc, const char *show_doc, const char *help_doc, setting_func_types< int >::set set_func, setting_func_types< int >::get get_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_integer_cmd (const char *name, command_class theclass, int *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_func_ftype *set_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_integer_cmd (const char *name, command_class theclass, const char *set_doc, const char *show_doc, const char *help_doc, setting_func_types< int >::set set_func, setting_func_types< int >::get get_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_pinteger_cmd (const char *name, command_class theclass, int *var, const literal_def *extra_literals, const char *set_doc, const char *show_doc, const char *help_doc, cmd_func_ftype *set_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_pinteger_cmd (const char *name, command_class theclass, const literal_def *extra_literals, const char *set_doc, const char *show_doc, const char *help_doc, setting_func_types< int >::set set_func, setting_func_types< int >::get get_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_uinteger_cmd (const char *name, command_class theclass, unsigned int *var, const literal_def *extra_literals, const char *set_doc, const char *show_doc, const char *help_doc, cmd_func_ftype *set_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_uinteger_cmd (const char *name, command_class theclass, const literal_def *extra_literals, const char *set_doc, const char *show_doc, const char *help_doc, setting_func_types< unsigned int >::set set_func, setting_func_types< unsigned int >::get get_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_uinteger_cmd (const char *name, command_class theclass, unsigned int *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_func_ftype *set_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_uinteger_cmd (const char *name, command_class theclass, const char *set_doc, const char *show_doc, const char *help_doc, setting_func_types< unsigned int >::set set_func, setting_func_types< unsigned int >::get get_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_zinteger_cmd (const char *name, command_class theclass, int *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_func_ftype *set_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_zinteger_cmd (const char *name, command_class theclass, const char *set_doc, const char *show_doc, const char *help_doc, setting_func_types< int >::set set_func, setting_func_types< int >::get get_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_zuinteger_cmd (const char *name, command_class theclass, unsigned int *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_func_ftype *set_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_zuinteger_cmd (const char *name, command_class theclass, const char *set_doc, const char *show_doc, const char *help_doc, setting_func_types< unsigned int >::set set_func, setting_func_types< unsigned int >::get get_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_zuinteger_unlimited_cmd (const char *name, command_class theclass, int *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_func_ftype *set_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
set_show_commands | add_setshow_zuinteger_unlimited_cmd (const char *name, command_class theclass, const char *set_doc, const char *show_doc, const char *help_doc, setting_func_types< int >::set set_func, setting_func_types< int >::get get_func, show_value_ftype *show_func, cmd_list_element **set_list, cmd_list_element **show_list) |
void | cmd_show_list (struct cmd_list_element *, int) |
void | error_no_arg (const char *) ATTRIBUTE_NORETURN |
void | dont_repeat () |
const char * | repeat_previous () |
scoped_restore_tmpl< int > | prevent_dont_repeat (void) |
void | set_repeat_arguments (const char *args) |
char * | get_saved_command_line () |
void | save_command_line (const char *cmd) |
void | not_just_help_class_command (const char *, int) |
void | cmd_func (struct cmd_list_element *cmd, const char *args, int from_tty) |
Variables | |
struct cli_suppress_notification | cli_suppress_notification |
const literal_def | integer_unlimited_literals [] |
const literal_def | uinteger_unlimited_literals [] |
const literal_def | pinteger_unlimited_literals [] |
#define CMD_LIST_AMBIGUOUS ((struct cmd_list_element *) -1) |
Definition at line 539 of file command.h.
Referenced by complete_line_internal_1(), gdbpy_parse_command_name(), gdbscm_parse_command_name(), lookup_cmd(), lookup_cmd_1(), lookup_cmd_composition_1(), pascm_parameter_defined_p(), and set_verbose().
typedef void cmd_func_ftype(const char *args, int from_tty, cmd_list_element *c) |
typedef void cmd_simple_func_ftype(const char *args, int from_tty) |
typedef void completer_ftype(struct cmd_list_element *, completion_tracker &tracker, const char *text, const char *word) |
typedef void completer_handle_brkchars_ftype(struct cmd_list_element *, completion_tracker &tracker, const char *text, const char *word) |
using erased_func = void (*) () |
typedef void show_value_ftype(struct ui_file *file, int from_tty, struct cmd_list_element *cmd, const char *value) |
enum command_class |
enum var_types |
|
extern |
Definition at line 468 of file cli-decode.c.
References cmd_list_element::abbrev_flag, add_cmd(), cmd_list_element::allow_unknown, cmd_list_element::doc, name, cmd_list_element::subcommands, and cmd_list_element::theclass.
|
extern |
Definition at line 294 of file cli-decode.c.
References cmd_list_element::abbrev_flag, add_cmd(), cmd_list_element::alias_target, cmd_list_element::aliases, cmd_list_element::allow_unknown, cmd_list_element::doc, cmd_list_element::doc_allocated, cmd_list_element::func, cmd_list_element::function, name, cmd_list_element::subcommands, and cmd_list_element::theclass.
Referenced by _initialize_mips_tdep(), _initialize_sparc64_adi_tdep(), _initialize_windows_tdep(), add_com_alias(), add_info_alias(), add_packet_config_cmd(), add_task_commands(), add_thread_commands(), alias_command(), initialize_current_architecture(), and install_gdb_commands().
|
extern |
Definition at line 391 of file cli-decode.c.
References add_prefix_cmd(), cmd_list_element::allow_unknown, do_prefix_cmd(), cmd_list_element::doc, cmd_list_element::func, name, cmd_list_element::subcommands, and cmd_list_element::theclass.
Referenced by _initialize_arc_tdep(), _initialize_go32_nat(), _initialize_mips_tdep(), _initialize_sparc64_adi_tdep(), add_setshow_prefix_cmd(), add_target(), init_w32_command_list(), install_gdb_commands(), and tui_get_cmd_list().
|
extern |
Definition at line 243 of file cli-decode.c.
References do_add_cmd(), cmd_list_element::doc, name, set_cmd_simple_func(), and cmd_list_element::theclass.
|
extern |
Definition at line 233 of file cli-decode.c.
References do_add_cmd(), cmd_list_element::doc, cmd_list_element::func, cmd_list_element::function, name, cmd_list_element::simple_func, and cmd_list_element::theclass.
Referenced by _initialize_arc_tdep(), _initialize_go32_nat(), _initialize_hppa_tdep(), _initialize_mips_tdep(), _initialize_sol_thread(), _initialize_sparc64_adi_tdep(), _initialize_windows_nat(), _initialize_windows_tdep(), add_abbrev_prefix_cmd(), add_alias_cmd(), add_catch_command(), add_cmd_suppress_notification(), add_com(), add_deprecated_target_alias(), add_dump_command(), add_info(), add_layout_command(), add_prefix_cmd(), add_set_or_show_cmd(), add_target(), add_task_commands(), add_thread_commands(), bsd_kvm_add_target(), cmdpy_init(), define_prefix_command(), do_add_internal_function(), do_define_command(), gdbpy_initialize_auto_load(), gdbscm_initialize_auto_load(), gdbscm_register_command_x(), initialize_inferiors(), initialize_progspace(), initialize_remote_fileio(), and s12z_gdbarch_init().
|
extern |
Definition at line 255 of file cli-decode.c.
References add_cmd(), cmd_list_element::doc, name, cmd_list_element::suppress_notification, and cmd_list_element::theclass.
Referenced by add_com_suppress_notification().
|
extern |
Definition at line 1504 of file cli-decode.c.
References add_cmd(), cmdlist, cmd_list_element::doc, name, and cmd_list_element::theclass.
Referenced by _initialize_procfs(), _initialize_remote_sim(), _initialize_windows_nat(), init_main(), initialize_inferiors(), and install_gdb_commands().
|
extern |
Definition at line 1517 of file cli-decode.c.
References cmd_list_element::abbrev_flag, add_alias_cmd(), cmdlist, name, and cmd_list_element::theclass.
Referenced by alias_command(), and install_gdb_commands().
|
extern |
Definition at line 1526 of file cli-decode.c.
References add_cmd_suppress_notification(), cmdlist, cmd_list_element::doc, name, cmd_list_element::suppress_notification, and cmd_list_element::theclass.
|
extern |
Definition at line 1488 of file cli-decode.c.
References add_cmd(), class_info, cmd_list_element::doc, infolist, and name.
Referenced by _initialize_avr_tdep(), _initialize_darwin_info_commands(), _initialize_procfs(), _initialize_ser_dos(), add_task_commands(), gdbpy_initialize_auto_load(), and initialize_inferiors().
|
extern |
Definition at line 1496 of file cli-decode.c.
References cmd_list_element::abbrev_flag, add_alias_cmd(), class_run, infolist, and name.
Referenced by add_task_commands(), and install_gdb_commands().
|
extern |
Definition at line 357 of file cli-decode.c.
References add_cmd(), cmd_list_element::allow_unknown, cmd_list_element::doc, name, cmd_list_element::subcommands, cmd_list_element::theclass, and update_prefix_field_of_prefixed_commands().
Referenced by add_basic_prefix_cmd(), add_prefix_cmd_suppress_notification(), add_show_prefix_cmd(), add_task_commands(), auto_load_info_cmdlist_get(), auto_load_set_cmdlist_get(), bsd_kvm_add_target(), cmdpy_init(), gdbscm_register_command_x(), and info_probes_cmdlist_get().
|
extern |
Definition at line 451 of file cli-decode.c.
References add_prefix_cmd(), cmd_list_element::allow_unknown, cmd_list_element::doc, name, cmd_list_element::subcommands, cmd_list_element::suppress_notification, and cmd_list_element::theclass.
|
extern |
Definition at line 752 of file cli-decode.c.
References auto_boolean_enums, cmd_list_element::enums, name, set_show_commands::set, cmd_list_element::theclass, cmd_list_element::var, and var_auto_boolean.
Referenced by _initialize_mips_tdep(), _initialize_riscv_tdep(), _initialize_rs6000_tdep(), add_packet_config_cmd(), add_setshow_generic(), add_setshow_generic(), and init_main().
|
extern |
Definition at line 777 of file cli-decode.c.
References auto_boolean_enums, name, cmd_list_element::theclass, and var_auto_boolean.
|
extern |
Definition at line 809 of file cli-decode.c.
References boolean_enums, cmd_list_element::enums, name, set_show_commands::set, cmd_list_element::theclass, cmd_list_element::var, and var_boolean.
Referenced by _initialize_aarch64_tdep(), _initialize_aix_thread(), _initialize_arc_tdep(), _initialize_arm_tdep(), _initialize_cris_tdep(), _initialize_csky_tdep(), _initialize_darwin_nat(), _initialize_fbsd_nat(), _initialize_gnu_nat(), _initialize_hppa_tdep(), _initialize_mips_linux_nat(), _initialize_mips_tdep(), _initialize_nios2_tdep(), _initialize_or1k_tdep(), _initialize_proc_api(), _initialize_riscv_tdep(), _initialize_rs6000_tdep(), _initialize_s390_nat(), _initialize_windows_nat(), _initialize_windows_tdep(), add_internal_problem_command(), gdb::option::add_setshow_cmds_for_options(), add_setshow_generic(), add_setshow_generic(), add_show_debug_regs_command(), add_show_debug_regs_command(), gdbpy_initialize_auto_load(), gdbscm_initialize_auto_load(), init_main(), and initialize_inferiors().
|
extern |
Definition at line 832 of file cli-decode.c.
References boolean_enums, name, cmd_list_element::theclass, and var_boolean.
|
extern |
Definition at line 688 of file cli-decode.c.
References cmd_list_element::enums, name, set_show_commands::set, cmd_list_element::theclass, cmd_list_element::var, and var_enum.
Referenced by _initialize_arm_tdep(), _initialize_cris_tdep(), _initialize_mips_tdep(), _initialize_rs6000_tdep(), _initialize_sh_tdep(), add_internal_problem_command(), add_set_language_command(), gdb::option::add_setshow_cmds_for_options(), cli_style_option::add_setshow_commands(), add_setshow_generic(), add_setshow_generic(), initialize_current_architecture(), and install_gdb_commands().
|
extern |
Definition at line 723 of file cli-decode.c.
References name, cmd_list_element::theclass, and var_enum.
|
extern |
Definition at line 879 of file cli-decode.c.
References filename_completer(), name, set_cmd_completer(), cmd_list_element::theclass, and var_filename.
|
extern |
Definition at line 855 of file cli-decode.c.
References filename_completer(), name, set_show_commands::set, set_cmd_completer(), cmd_list_element::theclass, cmd_list_element::var, and var_filename.
Referenced by _initialize_proc_api(), add_setshow_generic(), add_setshow_generic(), and init_main().
|
extern |
Definition at line 1126 of file cli-decode.c.
References integer_unlimited_literals, name, cmd_list_element::theclass, and var_integer.
|
extern |
Definition at line 1076 of file cli-decode.c.
References extra_literals, name, cmd_list_element::theclass, and var_integer.
|
extern |
Definition at line 1104 of file cli-decode.c.
References integer_unlimited_literals, name, cmd_list_element::theclass, cmd_list_element::var, and var_integer.
|
extern |
Definition at line 1055 of file cli-decode.c.
References extra_literals, name, cmd_list_element::theclass, cmd_list_element::var, and var_integer.
Referenced by gdb::option::add_setshow_cmds_for_options(), add_setshow_generic(), and add_setshow_generic().
|
extern |
Definition at line 1028 of file cli-decode.c.
References filename_completer(), name, set_cmd_completer(), cmd_list_element::theclass, and var_optional_filename.
|
extern |
Definition at line 1004 of file cli-decode.c.
References filename_completer(), name, set_show_commands::set, set_cmd_completer(), cmd_list_element::theclass, cmd_list_element::var, and var_optional_filename.
Referenced by add_setshow_generic(), add_setshow_generic(), and init_main().
|
extern |
Definition at line 1170 of file cli-decode.c.
References extra_literals, name, cmd_list_element::theclass, and var_pinteger.
|
extern |
Definition at line 1149 of file cli-decode.c.
References extra_literals, name, cmd_list_element::theclass, cmd_list_element::var, and var_pinteger.
Referenced by gdb::option::add_setshow_cmds_for_options(), add_setshow_generic(), and add_setshow_generic().
|
extern |
Definition at line 428 of file cli-decode.c.
References add_basic_prefix_cmd(), add_show_prefix_cmd(), name, set_show_commands::set, set_show_commands::show, and cmd_list_element::theclass.
Referenced by _initialize_arm_tdep(), _initialize_mips_tdep(), _initialize_riscv_tdep(), _initialize_rs6000_tdep(), _initialize_sh_tdep(), add_internal_problem_command(), cli_style_option::add_setshow_commands(), add_thread_commands(), and install_gdb_commands().
|
extern |
Definition at line 928 of file cli-decode.c.
References name, set_cmd_completer(), cmd_list_element::theclass, and var_string.
|
extern |
Definition at line 903 of file cli-decode.c.
References name, set_show_commands::set, set_cmd_completer(), cmd_list_element::theclass, cmd_list_element::var, and var_string.
Referenced by gdb::option::add_setshow_cmds_for_options(), add_setshow_generic(), add_setshow_generic(), and init_main().
|
extern |
Definition at line 978 of file cli-decode.c.
References name, set_cmd_completer(), cmd_list_element::theclass, and var_string_noescape.
|
extern |
Definition at line 953 of file cli-decode.c.
References name, set_show_commands::set, set_cmd_completer(), cmd_list_element::theclass, cmd_list_element::var, and var_string_noescape.
Referenced by add_setshow_generic(), and add_setshow_generic().
|
extern |
Definition at line 1266 of file cli-decode.c.
References name, cmd_list_element::theclass, uinteger_unlimited_literals, and var_uinteger.
|
extern |
Definition at line 1214 of file cli-decode.c.
References extra_literals, name, cmd_list_element::theclass, and var_uinteger.
|
extern |
Definition at line 1244 of file cli-decode.c.
References name, cmd_list_element::theclass, uinteger_unlimited_literals, cmd_list_element::var, and var_uinteger.
|
extern |
Definition at line 1193 of file cli-decode.c.
References extra_literals, name, cmd_list_element::theclass, cmd_list_element::var, and var_uinteger.
Referenced by gdb::option::add_setshow_cmds_for_options(), add_setshow_generic(), and add_setshow_generic().
|
extern |
Definition at line 1310 of file cli-decode.c.
References name, cmd_list_element::theclass, and var_integer.
|
extern |
Definition at line 1291 of file cli-decode.c.
References name, cmd_list_element::theclass, cmd_list_element::var, and var_integer.
Referenced by _initialize_alpha_tdep(), _initialize_mips_tdep(), _initialize_ser_dos(), and init_main().
|
extern |
Definition at line 1403 of file cli-decode.c.
References name, cmd_list_element::theclass, and var_uinteger.
|
extern |
Definition at line 1384 of file cli-decode.c.
References name, cmd_list_element::theclass, cmd_list_element::var, and var_uinteger.
Referenced by _initialize_bpf_tdep(), _initialize_cris_tdep(), _initialize_darwin_nat(), _initialize_dsbt_solib(), _initialize_machoread(), _initialize_microblaze_tdep(), _initialize_mips_tdep(), and _initialize_xtensa_tdep().
|
extern |
Definition at line 1360 of file cli-decode.c.
References name, pinteger_unlimited_literals, cmd_list_element::theclass, and var_pinteger.
|
extern |
Definition at line 1336 of file cli-decode.c.
References name, pinteger_unlimited_literals, cmd_list_element::theclass, cmd_list_element::var, and var_pinteger.
Referenced by init_main().
|
extern |
Definition at line 414 of file cli-decode.c.
References add_prefix_cmd(), cmd_list_element::allow_unknown, do_show_prefix_cmd(), cmd_list_element::doc, cmd_list_element::func, name, cmd_list_element::subcommands, and cmd_list_element::theclass.
Referenced by add_setshow_prefix_cmd(), and auto_load_show_cmdlist_get().
|
extern |
Definition at line 2726 of file cli-decode.c.
References cmd_list_element::func, cmd_list_element::is_command_class_help(), and cmd_list_element::suppress_notification.
Referenced by cmd_show_list(), execute_command(), info_auto_load_cmd(), and show_remote_cmd().
|
extern |
Definition at line 680 of file cli-setshow.c.
References cmd_func(), cmd_show_list(), current_uiout, do_show_command(), ui_out::field_string(), cmd_list_element::is_alias(), ui_out::is_mi_like_p(), cmd_list_element::is_prefix(), cmd_list_element::name, cmd_list_element::next, no_set_class, cmd_list_element::prefix, cmd_list_element::prefixname(), show_cmd, cmd_list_element::subcommands, ui_out::text(), cmd_list_element::theclass, and cmd_list_element::type.
Referenced by cmd_show_list(), do_show_prefix_cmd(), and show_index_cache_command().
|
extern |
Definition at line 110 of file cli-decode.c.
References do_simple_func(), cmd_list_element::func, cmd_list_element::function, and cmd_list_element::simple_func.
Referenced by encode_actions_1(), is_complete_command(), trace_dump_actions(), and validate_actionline().
|
extern |
Definition at line 2653 of file cli-decode.c.
References cmd_list_element::abbrev_flag, completion_tracker::add_completion(), cmd_list_element::cmd_deprecated, cmd_list_element::is_command_class_help(), cmd_list_element::is_prefix(), make_completion_match_str(), cmd_list_element::name, and cmd_list_element::next.
Referenced by complete_line_internal_1().
|
extern |
Definition at line 2711 of file cli-decode.c.
References completion_tracker::add_completion(), make_completion_match_str(), and name.
Referenced by backtrace_command_completer(), catch_syscall_completer(), collect_explicit_location_matches(), complete_explicit_location_spec(), complete_line_internal_1(), complete_linespec_component(), complete_set_gnutarget(), cp_abi_completer(), disassembler_options_completer(), handle_completer(), location_completer(), maint_info_sections_completer(), gdb::option::parse_option(), tui_reggroup_completer(), and window_name_completer().
|
extern |
Definition at line 280 of file cli-decode.c.
References cmd_list_element::cmd_deprecated, cmd_list_element::deprecated_warn_user, and cmd_list_element::replacement.
Referenced by add_deprecated_target_alias(), and gdbpy_initialize_auto_load().
|
extern |
Definition at line 2464 of file cli-decode.c.
References alias, cmd_list_element::cmd_deprecated, cmd_list_element::deprecated_warn_user, gdb_printf(), lookup_cmd_composition_1(), cmd_list_element::name, cmd_list_element::prefix, cmd_list_element::prefixname(), cmd_list_element::replacement, cli_style_option::style(), styled_string(), and title_style.
Referenced by execute_command(), and lookup_cmd_1().
|
extern |
Definition at line 696 of file top.c.
References current_ui, ui::instream, repeat_arguments, saved_command_line, server_command, ui::stdin_stream, and suppress_dont_repeat.
Referenced by add_symbol_file_command(), agent_eval_command_one(), attach_command(), auto_load_info_scripts(), cd_command(), cmd_record_call_history(), cmd_record_insn_history(), cmdpy_dont_repeat(), complete_command(), core_file_command(), delete_command(), delete_mem_command(), delete_trace_command(), delete_trace_variable_command(), detach_command(), directory_command(), disconnect_command(), display_command(), gdbscm_dont_repeat(), info_line_command(), interrupt_command(), load_command(), maint_agent_command_1(), maint_agent_printf_command(), maint_btrace_packet_history_cmd(), maintenance_info_line_tables(), maintenance_info_symtabs(), maintenance_print_msymbols(), maintenance_print_objfiles(), maintenance_print_psymbols(), maintenance_print_symbols(), mi_cmd_env_dir(), mi_cmd_env_path(), new_ui_command(), path_command(), pager_file::prompt_for_continue(), read_command_lines_1(), recurse_read_control_structure(), remove_symbol_file_command(), repeat_previous(), run_command_1(), save_bookmark_command(), sharedlibrary_command(), signal_command(), symbol_file_command(), target_preopen(), tstart_command(), tui_rl_switch_mode(), and undisplay_command().
|
extern |
Definition at line 206 of file cli-cmds.c.
Referenced by adi_assign_command(), advance_command(), bsd_kvm_pcb_cmd(), bsd_kvm_proc_cmd(), condition_command(), decode_line_2(), do_set_command(), enable_count_command(), generic_load(), get_selections(), go32_pte_for_address(), handle_command(), ignore_command(), info_symbol_command(), interpreter_exec_cmd(), jump_command(), gdbsim_target::load(), maint_agent_command_1(), maint_agent_printf_command(), map_breakpoint_numbers(), map_display_numbers(), mem_command(), memory_tag_check_command(), memory_tag_print_tag_command(), memory_tag_set_allocation_tag_command(), memory_tag_with_logical_tag_command(), parse_cli_var_integer(), parse_exp_in_context(), parse_pid_to_attach(), pipe_windows_open(), proc_trace_syscalls(), queue_signal_command(), remote_delete_command(), remote_get_command(), remote_put_command(), set_environment_command(), signal_command(), trace_variable_command(), tsave_command(), tui_set_focus_command(), tui_set_win_size(), ui_printf(), validate_comname(), and x_command().
|
extern |
Definition at line 390 of file cli-script.c.
References execute_user_command(), cmd_list_element::hook_in, and cmd_list_element::hook_post.
Referenced by execute_command().
|
extern |
Definition at line 379 of file cli-script.c.
References execute_user_command(), cmd_list_element::hook_in, and cmd_list_element::hook_pre.
Referenced by execute_command(), and normal_stop().
|
extern |
Definition at line 743 of file top.c.
References saved_command_line.
Referenced by handle_line_of_input(), and repeat_previous().
|
extern |
Definition at line 1841 of file cli-decode.c.
References all_classes, gdb_printf(), gdb_puts(), help_cmd_list(), cmd_list_element::theclass, and ui_file::wrap_here().
Referenced by do_prefix_cmd(), execute_command(), help_cmd(), info_command(), memory_tag_command(), set_source(), show_source(), tui_layout_command(), and tui_window_command().
|
extern |
Definition at line 2325 of file cli-decode.c.
References cmd_list_element::allow_unknown, CMD_LIST_AMBIGUOUS, cmd_list_element::default_args, find_command_name_length(), cmd_list_element::is_prefix(), lookup_cmd_1(), cmd_list_element::name, cmd_list_element::next, cmd_list_element::prefixname(), set_cmd, cmd_list_element::subcommands, cmd_list_element::type, and undef_cmd_error().
Referenced by encode_actions_1(), execute_command(), help_cmd(), lookup_cmd_exact(), lookup_cmd_for_default_args(), setting_cmd(), show_user(), trace_dump_actions(), validate_actionline(), validate_comname(), and with_command_1().
|
extern |
Definition at line 2172 of file cli-decode.c.
References cmd_list_element::alias_target, CMD_LIST_AMBIGUOUS, cmd_list_element::default_args, deprecated_cmd_warning(), cmd_list_element::deprecated_warn_user, find_cmd(), find_command_name_length(), cmd_list_element::is_alias(), cmd_list_element::is_prefix(), lookup_cmd_1(), and cmd_list_element::subcommands.
Referenced by alias_command(), complete_line_internal_1(), gdbpy_parse_command_name(), gdbscm_parse_command_name(), lookup_cmd(), lookup_cmd_1(), pascm_parameter_defined_p(), process_next_line(), set_verbose(), and validate_aliased_command().
|
extern |
Definition at line 2634 of file cli-decode.c.
References alias, cmdlist, and lookup_cmd_composition_1().
Referenced by alias_command(), do_document_command(), gdbscm_parameter_value(), help_cmd(), lookup_cmd_for_default_args(), and maintenance_do_deprecate().
|
extern |
Definition at line 2429 of file cli-decode.c.
References lookup_cmd(), name, and cmd_list_element::name.
Referenced by define_prefix_command(), and do_define_command().
|
extern |
Definition at line 483 of file cli-decode.c.
|
extern |
Definition at line 735 of file top.c.
References suppress_dont_repeat.
Referenced by bpstat_do_actions_1().
|
extern |
Definition at line 716 of file top.c.
References dont_repeat(), get_saved_command_line(), previous_repeat_arguments, previous_saved_command_line, repeat_arguments, and saved_command_line.
Referenced by pipe_command(), and with_command_1().
|
extern |
Definition at line 751 of file top.c.
References previous_repeat_arguments, previous_saved_command_line, repeat_arguments, saved_command_line, and xfree().
Referenced by handle_line_of_input().
|
extern |
Definition at line 117 of file cli-decode.c.
References cmd_list_element::completer.
Referenced by _initialize_remote_sim(), add_catch_command(), add_setshow_cmd_full(), add_setshow_cmd_full_erased(), add_setshow_filename_cmd(), add_setshow_filename_cmd(), add_setshow_optional_filename_cmd(), add_setshow_optional_filename_cmd(), add_setshow_string_cmd(), add_setshow_string_cmd(), add_setshow_string_noescape_cmd(), add_setshow_string_noescape_cmd(), add_target(), cmdpy_init(), gdbscm_register_command_x(), and initialize_inferiors().
|
extern |
Definition at line 125 of file cli-decode.c.
References cmd_list_element::completer_handle_brkchars, and func.
Referenced by cmdpy_init().
|
extern |
Definition at line 450 of file top.c.
References repeat_arguments.
Referenced by list_command(), show_commands(), show_values(), and x_command().
|
extern |
Definition at line 2140 of file cli-decode.c.
Referenced by complete_line_internal_1(), find_command_name_length(), gdbpy_parse_command_name(), gdbscm_parse_command_name(), valid_user_defined_cmd_name_p(), and validate_comname().
|
extern |
Definition at line 2151 of file cli-decode.c.
References name, and valid_cmd_char_p().
Referenced by alias_command().
|
inline |
Definition at line 144 of file command.h.
References var_boolean.
Referenced by make_setting(), and make_setting().
|
inline |
Definition at line 183 of file command.h.
References var_enum.
Referenced by make_setting(), and make_setting().
|
inline |
Definition at line 152 of file command.h.
References var_auto_boolean.
|
inline |
Definition at line 167 of file command.h.
References var_integer, and var_pinteger.
Referenced by make_setting(), and make_setting().
|
inline |
Definition at line 174 of file command.h.
References var_filename, var_optional_filename, var_string, and var_string_noescape.
Referenced by gdbscm_make_parameter(), make_setting(), make_setting(), parmpy_dealloc(), parmpy_init(), and pascm_free_parameter_smob().
|
inline |
Definition at line 160 of file command.h.
References var_uinteger.
Referenced by make_setting(), and make_setting().
|
extern |
Definition at line 68 of file cli-interp.c.
|
extern |
Definition at line 1094 of file cli-decode.c.
Referenced by add_setshow_integer_cmd(), and add_setshow_integer_cmd().
|
extern |
Definition at line 1326 of file cli-decode.c.
Referenced by add_setshow_zuinteger_unlimited_cmd(), and add_setshow_zuinteger_unlimited_cmd().
|
extern |
Definition at line 1234 of file cli-decode.c.
Referenced by add_setshow_uinteger_cmd(), and add_setshow_uinteger_cmd().