GDB (API)
|
Go to the source code of this file.
Classes | |
struct | get_number_or_range_state |
Defines | |
#define | skip_to_space(INP) ((char *) skip_to_space_const (INP)) |
Functions | |
int | get_number (char **) |
void | init_number_or_range (struct get_number_or_range_state *state, char *string) |
int | get_number_or_range (struct get_number_or_range_state *state) |
int | number_is_in_list (char *list, int number) |
char * | skip_spaces (char *inp) |
const char * | skip_spaces_const (const char *inp) |
const char * | skip_to_space_const (const char *inp) |
char * | remove_trailing_whitespace (const char *start, char *s) |
char * | extract_arg (char **arg) |
int | check_for_argument (char **str, char *arg, int arg_len) |
#define skip_to_space | ( | INP | ) | ((char *) skip_to_space_const (INP)) |
Definition at line 104 of file cli-utils.h.
int check_for_argument | ( | char ** | str, |
char * | arg, | ||
int | arg_len | ||
) |
Definition at line 293 of file cli-utils.c.
char* extract_arg | ( | char ** | arg | ) |
Definition at line 264 of file cli-utils.c.
int get_number | ( | char ** | ) |
Definition at line 113 of file cli-utils.c.
int get_number_or_range | ( | struct get_number_or_range_state * | state | ) |
Definition at line 131 of file cli-utils.c.
void init_number_or_range | ( | struct get_number_or_range_state * | state, |
char * | string | ||
) |
Definition at line 121 of file cli-utils.c.
int number_is_in_list | ( | char * | list, |
int | number | ||
) |
Definition at line 194 of file cli-utils.c.
char* remove_trailing_whitespace | ( | const char * | start, |
char * | s | ||
) |
Definition at line 253 of file cli-utils.c.
char* skip_spaces | ( | char * | inp | ) |
Definition at line 217 of file cli-utils.c.
const char* skip_spaces_const | ( | const char * | inp | ) |
Definition at line 229 of file cli-utils.c.
const char* skip_to_space_const | ( | const char * | inp | ) |
Definition at line 241 of file cli-utils.c.