GDB (API)
Functions
/home/stan/gdb/src/gdb/cli/cli-utils.c File Reference
#include "defs.h"
#include "cli/cli-utils.h"
#include "gdb_string.h"
#include "value.h"
#include "gdb_assert.h"
#include <ctype.h>

Go to the source code of this file.

Functions

int get_number (char **pp)
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 *chp)
const char * skip_spaces_const (const char *chp)
const char * skip_to_space_const (const char *chp)
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)

Function Documentation

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 **  pp)

Definition at line 113 of file cli-utils.c.

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 *  chp)

Definition at line 217 of file cli-utils.c.

const char* skip_spaces_const ( const char *  chp)

Definition at line 229 of file cli-utils.c.

const char* skip_to_space_const ( const char *  chp)

Definition at line 241 of file cli-utils.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines