GDB (xrefs)
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

static int get_number_trailer (char **pp, int trailer)
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 
)
char* extract_arg ( char **  arg)

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

References memcpy(), skip_spaces(), skip_to_space, and xmalloc().

Referenced by disable_command(), enable_command(), info_probes_for_ops(), and VEC().

int get_number ( char **  pp)
static int get_number_trailer ( char **  pp,
int  trailer 
) [static]
void init_number_or_range ( struct get_number_or_range_state state,
char *  string 
)
int number_is_in_list ( char *  list,
int  number 
)
char* remove_trailing_whitespace ( const char *  start,
char *  s 
)

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

Referenced by copy_token_string(), and set_gnutarget_command().

char* skip_spaces ( char *  chp)
const char* skip_spaces_const ( const char *  chp)
const char* skip_to_space_const ( const char *  chp)

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

Referenced by find_condition_and_thread(), VEC(), and watch_command_1().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines