GDB (xrefs)
|
#include "mi-parse.h"
Public Member Functions | |
mi_parse (const char *cmd, std::string *token) | |
mi_parse (gdb::unique_xmalloc_ptr< char > command, std::vector< gdb::unique_xmalloc_ptr< char > > args) | |
~mi_parse () | |
DISABLE_COPY_AND_ASSIGN (mi_parse) | |
void | parse_argv () |
const char * | args () |
Public Attributes | |
enum mi_command_type | op = MI_COMMAND |
gdb::unique_xmalloc_ptr< char > | command |
std::string | token |
const struct mi_command * | cmd = nullptr |
struct mi_timestamp * | cmd_start = nullptr |
char ** | argv = nullptr |
int | argc = 0 |
int | all = 0 |
int | thread_group = -1 |
int | thread = -1 |
int | frame = -1 |
enum language | language = language_unknown |
Private Member Functions | |
void | set_thread_group (const char *arg, char **endp) |
void | set_thread (const char *arg, char **endp) |
void | set_frame (const char *arg, char **endp) |
void | set_language (const char *arg, const char **endp) |
Private Attributes | |
std::string | m_args |
Definition at line 42 of file mi-parse.h.
mi_parse::mi_parse | ( | const char * | cmd, |
std::string * | token ) |
Definition at line 292 of file mi-parse.c.
References all, CLI_COMMAND, cmd, command, m_args, mi_cmd_lookup(), MI_COMMAND, op, set_frame(), set_language(), set_thread(), set_thread_group(), and token.
mi_parse::mi_parse | ( | gdb::unique_xmalloc_ptr< char > | command, |
std::vector< gdb::unique_xmalloc_ptr< char > > | args ) |
Definition at line 410 of file mi-parse.c.
References all, argc, args(), argv, cmd, command, get(), mi_cmd_lookup(), MI_COMMAND, op, set_frame(), set_language(), set_thread(), set_thread_group(), and token.
mi_parse::~mi_parse | ( | ) |
Definition at line 216 of file mi-parse.c.
References argv.
const char * mi_parse::args | ( | ) |
Definition at line 224 of file mi-parse.c.
References argc, argv, and m_args.
Referenced by captured_mi_execute_command(), mi_command_mi::invoke(), mi_command_cli::invoke(), mi_command_py::invoke(), and mi_parse().
mi_parse::DISABLE_COPY_AND_ASSIGN | ( | mi_parse | ) |
void mi_parse::parse_argv | ( | ) |
Definition at line 110 of file mi-parse.c.
References argc, argv, m_args, and mi_parse_escape().
Referenced by mi_command_mi::invoke(), and mi_command_py::invoke().
|
private |
Definition at line 268 of file mi-parse.c.
References frame.
Referenced by mi_parse(), and mi_parse().
|
private |
Definition at line 278 of file mi-parse.c.
References extract_arg(), language_enum(), and language_unknown.
Referenced by mi_parse(), and mi_parse().
|
private |
Definition at line 258 of file mi-parse.c.
References thread.
Referenced by mi_parse(), and mi_parse().
|
private |
Definition at line 245 of file mi-parse.c.
References thread_group.
Referenced by mi_parse(), and mi_parse().
int mi_parse::all = 0 |
Definition at line 77 of file mi-parse.h.
Referenced by exec_continue(), mi_cmd_exec_interrupt(), mi_cmd_exec_run(), mi_cmd_execute(), mi_parse(), and mi_parse().
int mi_parse::argc = 0 |
Definition at line 76 of file mi-parse.h.
Referenced by args(), mi_command_mi::invoke(), mi_command_py::invoke(), mi_parse(), and parse_argv().
char** mi_parse::argv = nullptr |
Definition at line 75 of file mi-parse.h.
Referenced by args(), mi_command_mi::invoke(), mi_command_py::invoke(), mi_parse(), parse_argv(), and ~mi_parse().
const struct mi_command* mi_parse::cmd = nullptr |
Definition at line 73 of file mi-parse.h.
Referenced by gdb.dap.startup.Invoker::__call__(), gdb.dap.startup.Invoker::__init__(), mi_cmd_execute(), mi_parse(), and mi_parse().
struct mi_timestamp* mi_parse::cmd_start = nullptr |
Definition at line 74 of file mi-parse.h.
Referenced by captured_mi_execute_command().
gdb::unique_xmalloc_ptr<char> mi_parse::command |
Definition at line 71 of file mi-parse.h.
Referenced by captured_mi_execute_command(), mi_command_mi::invoke(), mi_command_py::invoke(), mi_parse(), and mi_parse().
int mi_parse::frame = -1 |
Definition at line 80 of file mi-parse.h.
Referenced by gdb.FrameDecorator.FrameVars::__init__(), gdb.FrameDecorator.SymValueWrapper::__init__(), gdb.FrameIterator.FrameIterator::__init__(), gdb.dap.scopes._ScopeReference::__init__(), gdb.FrameIterator.FrameIterator::__next__(), gdb.FrameDecorator.FrameVars::fetch_frame_args(), gdb.FrameDecorator.FrameVars::fetch_frame_locals(), gdb.dap.scopes._ScopeReference::fetch_one_child(), mi_cmd_execute(), set_frame(), and gdb.FrameDecorator.SymValueWrapper::value().
enum language mi_parse::language = language_unknown |
Definition at line 84 of file mi-parse.h.
Referenced by mi_cmd_execute().
|
private |
Definition at line 97 of file mi-parse.h.
Referenced by args(), mi_parse(), and parse_argv().
enum mi_command_type mi_parse::op = MI_COMMAND |
Definition at line 68 of file mi-parse.h.
Referenced by captured_mi_execute_command(), mi_execute_command(), mi_parse(), and mi_parse().
int mi_parse::thread = -1 |
Definition at line 79 of file mi-parse.h.
Referenced by mi_cmd_execute(), and set_thread().
int mi_parse::thread_group = -1 |
Definition at line 78 of file mi-parse.h.
Referenced by exec_continue(), mi_cmd_exec_interrupt(), mi_cmd_execute(), and set_thread_group().
std::string mi_parse::token |
Definition at line 72 of file mi-parse.h.
Referenced by captured_mi_execute_command(), mi_execute_command(), mi_parse(), and mi_parse().