GDB (xrefs)
|
Go to the source code of this file.
Functions | |
ULONGEST | get_ulongest (const char **pp, int trailer) |
int | get_number_trailer (const char **pp, int trailer) |
int | get_number (const char **pp) |
int | get_number (char **pp) |
void | report_unrecognized_option_error (const char *command, const char *args) |
const char * | info_print_args_help (const char *prefix, const char *entity_kind, bool document_n_flag) |
int | number_is_in_list (const char *list, int number) |
const char * | remove_trailing_whitespace (const char *start, const char *s) |
std::string | extract_arg (const char **arg) |
std::string | extract_arg (char **arg) |
int | check_for_argument (const char **str, const char *arg, int arg_len) |
void | validate_flags_qcs (const char *which_command, qcs_flags *flags) |
int check_for_argument | ( | const char ** | str, |
const char * | arg, | ||
int | arg_len ) |
Definition at line 421 of file cli-utils.c.
Referenced by apropos_command(), check_for_argument(), check_for_argument(), check_for_argument(), extract_exception_regexp(), gdb::option::find_end_options_delimiter(), maint_agent_command_1(), gdb::option::parse_option(), and tui_new_layout_command().
std::string extract_arg | ( | char ** | arg | ) |
Definition at line 408 of file cli-utils.c.
References extract_arg().
std::string extract_arg | ( | const char ** | arg | ) |
Definition at line 383 of file cli-utils.c.
Referenced by catch_ada_exception_command_split(), catch_signal_split_args(), demangle_command(), enable_disable_command(), extract_arg(), ignore_probes_command(), mem_command(), parse_backtrace_qualifiers(), parse_probe_linespec(), report_unrecognized_option_error(), mi_parse::set_language(), and tui_new_layout_command().
int get_number | ( | char ** | pp | ) |
Definition at line 171 of file cli-utils.c.
References get_number_trailer().
int get_number | ( | const char ** | pp | ) |
Definition at line 163 of file cli-utils.c.
References get_number_trailer().
Referenced by adi_assign_command(), adi_examine_command(), condition_command(), enable_count_command(), get_tracepoint_by_number(), goto_bookmark_command(), and ignore_command().
int get_number_trailer | ( | const char ** | pp, |
int | trailer ) |
Definition at line 81 of file cli-utils.c.
References type::code(), gdb_printf(), get_internalvar_integer(), lookup_internalvar(), value::type(), value_as_long(), and value_from_history_ref().
Referenced by extract_bp_num(), frame_apply_cmd_completer(), frame_apply_command(), number_or_range_parser::get_number(), get_number(), get_number(), and get_positive_number_trailer().
ULONGEST get_ulongest | ( | const char ** | pp, |
int | trailer ) |
Definition at line 29 of file cli-utils.c.
References type::code(), get_internalvar_integer(), lookup_internalvar(), value::type(), value_as_long(), and value_from_history_ref().
Referenced by parse_cli_var_integer(), and tui_new_layout_command().
const char * info_print_args_help | ( | const char * | prefix, |
const char * | entity_kind, | ||
bool | document_n_flag ) |
Definition at line 196 of file cli-utils.c.
References prefix.
int number_is_in_list | ( | const char * | list, |
int | number ) |
Definition at line 348 of file cli-utils.c.
References number_or_range_parser::finished(), and number_or_range_parser::get_number().
Referenced by breakpoint_1(), info_skip_command(), print_connection(), print_inferior(), record_btrace_target_open(), should_print_thread(), skip_delete_command(), skip_disable_command(), and skip_enable_command().
const char * remove_trailing_whitespace | ( | const char * | start, |
const char * | s ) |
Definition at line 372 of file cli-utils.c.
Referenced by copy_token_string(), linespec_location_spec::linespec_location_spec(), remove_trailing_whitespace(), and set_gnutarget_command().
void report_unrecognized_option_error | ( | const char * | command, |
const char * | args ) |
Definition at line 184 of file cli-utils.c.
References extract_arg().
Referenced by demangle_command(), and info_macro_command().
void validate_flags_qcs | ( | const char * | which_command, |
qcs_flags * | flags ) |
Definition at line 436 of file cli-utils.c.
References flags.
Referenced by frame_apply_command_count(), task_apply_all_command(), task_apply_command(), thread_apply_all_command(), and thread_apply_command().