GDB (xrefs)
|
#include "defs.h"
#include "mi-cmds.h"
#include "mi-parse.h"
#include "charset.h"
#include <ctype.h>
#include "gdb_string.h"
#include "cli/cli-utils.h"
Go to the source code of this file.
Functions | |
static int | mi_parse_escape (const char **string_ptr) |
static void | mi_parse_argv (const char *args, struct mi_parse *parse) |
void | mi_parse_free (struct mi_parse *parse) |
static void | mi_parse_cleanup (void *arg) |
struct mi_parse * | mi_parse (const char *cmd, char **token) |
enum print_values | mi_parse_print_values (const char *name) |
Variables | |
static const char | mi_no_values [] = "--no-values" |
static const char | mi_simple_values [] = "--simple-values" |
static const char | mi_all_values [] = "--all-values" |
Definition at line 236 of file mi-parse.c.
References _, mi_parse::all, mi_parse::args, mi_parse::argv, mi_cmd::argv_func, mi_cmd::cli, CLI_COMMAND, mi_parse::cmd, mi_cli::cmd, mi_parse::command, discard_cleanups(), error(), mi_parse::frame, make_cleanup(), memcpy(), memset(), MI_COMMAND, mi_lookup(), mi_parse_argv(), mi_parse_cleanup(), mi_parse::op, parse(), skip_spaces_const(), mi_parse::thread, mi_parse::thread_group, xmalloc(), and XMALLOC.
Referenced by mi_execute_command().
static void mi_parse_argv | ( | const char * | args, |
struct mi_parse * | parse | ||
) | [static] |
Definition at line 110 of file mi-parse.c.
References mi_parse::argc, mi_parse::argv, len, mi_parse_escape(), skip_spaces_const(), xmalloc(), and xrealloc().
Referenced by mi_parse().
static void mi_parse_cleanup | ( | void * | arg | ) | [static] |
static int mi_parse_escape | ( | const char ** | string_ptr | ) | [static] |
Definition at line 39 of file mi-parse.c.
References host_hex_value().
Referenced by mi_parse_argv().
void mi_parse_free | ( | struct mi_parse * | parse | ) |
Definition at line 212 of file mi-parse.c.
References mi_parse::args, mi_parse::argv, mi_parse::command, mi_parse::token, and xfree().
Referenced by mi_execute_command(), and mi_parse_cleanup().
enum print_values mi_parse_print_values | ( | const char * | name | ) |
Definition at line 382 of file mi-parse.c.
References _, error(), mi_all_values, mi_no_values, mi_simple_values, PRINT_ALL_VALUES, PRINT_NO_VALUES, and PRINT_SIMPLE_VALUES.
Referenced by mi_cmd_stack_list_args(), mi_cmd_stack_list_locals(), mi_cmd_stack_list_variables(), mi_cmd_trace_frame_collected(), mi_cmd_var_list_children(), and mi_cmd_var_update().
const char mi_all_values[] = "--all-values" [static] |
Definition at line 33 of file mi-parse.c.
Referenced by mi_parse_print_values().
const char mi_no_values[] = "--no-values" [static] |
Definition at line 31 of file mi-parse.c.
Referenced by mi_parse_print_values().
const char mi_simple_values[] = "--simple-values" [static] |
Definition at line 32 of file mi-parse.c.
Referenced by mi_parse_print_values().