GDB (xrefs)
|
Go to the source code of this file.
Functions | |
static int | get_number_trailer (const char **pp, int trailer) |
int | get_number_const (const char **pp) |
int | get_number (char **pp) |
void | init_number_or_range (struct get_number_or_range_state *state, const char *string) |
int | get_number_or_range (struct get_number_or_range_state *state) |
int | number_is_in_list (const char *list, int number) |
char * | remove_trailing_whitespace (const char *start, char *s) |
char * | extract_arg_const (const char **arg) |
char * | extract_arg (char **arg) |
int | check_for_argument (char **str, char *arg, int arg_len) |
Definition at line 277 of file cli-utils.c.
Referenced by agent_command_1(), check_raw_argument(), compile_code_command(), extract_exception_regexp(), thread_apply_all_command(), and watch_maybe_just_location().
char* extract_arg | ( | char ** | arg | ) |
Definition at line 264 of file cli-utils.c.
References extract_arg_const().
Referenced by disable_command(), enable_command(), and VEC().
char* extract_arg_const | ( | const char ** | arg | ) |
Definition at line 239 of file cli-utils.c.
References savestring(), skip_spaces_const(), and skip_to_space_const().
Referenced by extract_arg(), m32r_load(), mi_parse(), and parse_probe_linespec().
int get_number | ( | char ** | pp | ) |
Definition at line 119 of file cli-utils.c.
References get_number_trailer().
Referenced by condition_command(), enable_count_command(), find_location_by_number(), get_tracepoint_by_number(), goto_bookmark_command(), and ignore_command().
Definition at line 111 of file cli-utils.c.
References get_number_trailer().
Referenced by get_number_or_range().
int get_number_or_range | ( | struct get_number_or_range_state * | state | ) |
Definition at line 142 of file cli-utils.c.
References _, get_number_or_range_state::end_ptr, get_number_or_range_state::end_value, error(), get_number_or_range_state::finished, get_number_const(), get_number_trailer(), get_number_or_range_state::in_range, get_number_or_range_state::last_retval, skip_spaces_const(), and get_number_or_range_state::string.
Referenced by bookmarks_info(), decode_line_2(), delete_bookmark_command(), detach_inferior_command(), get_tracepoint_by_number(), kill_inferior_command(), map_breakpoint_numbers(), map_display_numbers(), mem_delete_command(), mem_disable_command(), mem_enable_command(), number_is_in_list(), remove_inferior_command(), and thread_apply_command().
Definition at line 36 of file cli-utils.c.
References _, get_internalvar_integer(), int, lookup_internalvar(), printf_filtered(), skip_spaces_const(), TYPE_CODE, TYPE_CODE_INT, value_as_long(), value_from_history_ref(), and value_type().
Referenced by get_number(), get_number_const(), and get_number_or_range().
void init_number_or_range | ( | struct get_number_or_range_state * | state, |
const char * | string | ||
) |
Definition at line 132 of file cli-utils.c.
References get_number_or_range_state::string, and string.
Referenced by bookmarks_info(), decode_line_2(), delete_bookmark_command(), detach_inferior_command(), kill_inferior_command(), map_breakpoint_numbers(), map_display_numbers(), mem_delete_command(), mem_disable_command(), mem_enable_command(), number_is_in_list(), remove_inferior_command(), thread_apply_command(), and trace_pass_command().
Definition at line 205 of file cli-utils.c.
References _, error(), get_number_or_range_state::finished, get_number_or_range(), and init_number_or_range().
Referenced by breakpoint_1(), print_inferior(), print_thread_info(), record_btrace_open(), skip_delete_command(), skip_disable_command(), skip_enable_command(), and skip_info().
char* remove_trailing_whitespace | ( | const char * | start, |
char * | s | ||
) |
Definition at line 228 of file cli-utils.c.
Referenced by copy_token_string(), and set_gnutarget_command().