Lines Matching refs:cmd
953 const GdbCmdParseEntry *cmd = &cmds[i]; in process_string_cmd() local
955 g_assert(cmd->handler && cmd->cmd); in process_string_cmd()
957 if ((cmd->cmd_startswith && !startswith(data, cmd->cmd)) || in process_string_cmd()
958 (!cmd->cmd_startswith && strcmp(cmd->cmd, data))) { in process_string_cmd()
962 if (cmd->schema) { in process_string_cmd()
963 if (cmd_parse_params(&data[strlen(cmd->cmd)], in process_string_cmd()
964 cmd->schema, params)) { in process_string_cmd()
969 if (cmd->need_cpu_context) { in process_string_cmd()
973 gdbserver_state.allow_stop_reply = cmd->allow_stop_reply; in process_string_cmd()
974 cmd->handler(params, user_ctx); in process_string_cmd()
981 static void run_cmd_parser(const char *data, const GdbCmdParseEntry *cmd) in run_cmd_parser() argument
992 if (!process_string_cmd(data, cmd, 1)) { in run_cmd_parser()
1448 .cmd = "Cont?",
1453 .cmd = "Cont",
1460 .cmd = "Attach;",
1467 .cmd = "Kill;",
1477 .cmd = "File:open:",
1483 .cmd = "File:close:",
1489 .cmd = "File:pread:",
1495 .cmd = "File:readlink:",
1761 .cmd = "qemu.sstepbits",
1765 .cmd = "qemu.sstep",
1769 .cmd = "qemu.sstep=",
1832 .cmd = "C",
1836 .cmd = "sThreadInfo",
1840 .cmd = "fThreadInfo",
1844 .cmd = "ThreadExtraInfo,",
1851 .cmd = "Offsets",
1856 .cmd = "Rcmd,",
1863 .cmd = "Supported:",
1869 .cmd = "Supported",
1874 .cmd = "Xfer:features:read:",
1882 .cmd = "Xfer:auxv:read::",
1888 .cmd = "Xfer:siginfo:read::",
1895 .cmd = "Xfer:exec-file:read:",
1902 .cmd = "Attached:",
1907 .cmd = "Attached",
1911 .cmd = "qemu.Supported",
1916 .cmd = "qemu.PhyMemMode",
1933 .cmd = "qemu.sstep:",
1940 .cmd = "qemu.PhyMemMode:",
1948 .cmd = "CatchSyscalls:",
2048 .cmd = "?", in gdb_handle_packet()
2059 .cmd = "c", in gdb_handle_packet()
2071 .cmd = "C", in gdb_handle_packet()
2083 .cmd = "v", in gdb_handle_packet()
2100 .cmd = "D", in gdb_handle_packet()
2111 .cmd = "s", in gdb_handle_packet()
2123 .cmd = "b", in gdb_handle_packet()
2135 .cmd = "F", in gdb_handle_packet()
2146 .cmd = "g", in gdb_handle_packet()
2156 .cmd = "G", in gdb_handle_packet()
2167 .cmd = "m", in gdb_handle_packet()
2178 .cmd = "M", in gdb_handle_packet()
2189 .cmd = "p", in gdb_handle_packet()
2200 .cmd = "P", in gdb_handle_packet()
2211 .cmd = "Z", in gdb_handle_packet()
2222 .cmd = "z", in gdb_handle_packet()
2233 .cmd = "H", in gdb_handle_packet()
2244 .cmd = "T", in gdb_handle_packet()
2255 .cmd = "q", in gdb_handle_packet()
2266 .cmd = "Q", in gdb_handle_packet()