Lines Matching defs:command

73 /* This is used to pass the current command timestamp down to
82 command including all option, and make it possible. */
88 command was issued. */
105 /* The set command writes to this variable. If the inferior is
151 mi_cmd_gdb_exit (const char *command, char **argv, int argc)
166 mi_cmd_exec_next (const char *command, char **argv, int argc)
176 mi_cmd_exec_next_instruction (const char *command, char **argv, int argc)
186 mi_cmd_exec_step (const char *command, char **argv, int argc)
196 mi_cmd_exec_step_instruction (const char *command, char **argv, int argc)
206 mi_cmd_exec_finish (const char *command, char **argv, int argc)
216 mi_cmd_exec_return (const char *command, char **argv, int argc)
218 /* This command doesn't really execute the target, it just pops the
325 error (_("Target %s does not support this command."), target_shortname);
333 mi_cmd_exec_continue (const char *command, char **argv, int argc)
358 token in the result of the interrupt command, and the previous
363 mi_cmd_exec_interrupt (const char *command, char **argv, int argc)
388 MI command was sent. */
396 main subprogram (similar to what the CLI "start" command does). */
420 mi_cmd_exec_run (const char *command, char **argv, int argc)
424 /* Parse the command options. */
452 /* This command does not accept any argument. Make sure the user
488 mi_cmd_target_detach (const char *command, char **argv, int argc)
536 mi_cmd_target_flash_erase (const char *command, char **argv, int argc)
542 mi_cmd_thread_select (const char *command, char **argv, int argc)
568 mi_cmd_thread_list_ids (const char *command, char **argv, int argc)
597 mi_cmd_thread_info (const char *command, char **argv, int argc)
600 error (_("Invalid MI command"));
723 const std::string *cmd = get_osdata_column (item, "command");
771 mi_cmd_list_thread_groups (const char *command, char **argv, int argc)
860 mi_cmd_data_list_register_names (const char *command, char **argv, int argc)
909 mi_cmd_data_list_changed_registers (const char *command, char **argv, int argc)
1010 mi_cmd_data_list_register_values (const char *command, char **argv, int argc)
1128 given as pairs. The corresponding MI command is
1132 mi_cmd_data_write_register_values (const char *command, char **argv, int argc)
1189 mi_cmd_data_evaluate_expression (const char *command, char **argv, int argc)
1213 /* This is the -data-read-memory command.
1217 the ``x'' command.
1233 mi_cmd_data_read_memory (const char *command, char **argv, int argc)
1284 the ``x'' command. */
1408 mi_cmd_data_read_memory_bytes (const char *command, char **argv, int argc)
1472 /* Implementation of the -data-write_memory command.
1481 the ``x'' command.
1490 mi_cmd_data_write_memory (const char *command, char **argv, int argc)
1551 /* Implementation of the -data-write-memory-bytes command.
1558 mi_cmd_data_write_memory_bytes (const char *command, char **argv, int argc)
1626 mi_cmd_enable_timings (const char *command, char **argv, int argc)
1645 error (_("-enable-timings: Usage: %s {yes|no}"), command);
1649 mi_cmd_list_features (const char *command, char **argv, int argc)
1663 uiout->field_string (NULL, "info-gdb-mi-command");
1664 uiout->field_string (NULL, "undefined-command-error-code");
1678 mi_cmd_list_target_features (const char *command, char **argv, int argc)
1696 mi_cmd_add_inferior (const char *command, char **argv, int argc)
1709 mi_cmd_remove_inferior (const char *command, char **argv, int argc)
1757 /* Execute a command within a safe environment.
1761 to perform after the given command has executed (display/suppress
1780 /* A MI command was read from the input stream. */
1784 " token=`%s' command=`%s' args=`%s'\n",
1785 context->token, context->command, context->args);
1791 Remember that on the way out of executing a command, you have
1792 to directly use the mi_interp's uiout, since the command
1800 fputs_unfiltered (strcmp (context->command, "target-select") == 0
1808 /* The command does not want anything to be printed. In that
1809 case, the command probably should not have written anything
1818 /* A CLI command was read from the input stream. */
1821 /* Echo the command on the console. */
1822 fprintf_unfiltered (gdb_stdlog, "%s\n", context->command);
1825 argv[1] = context->command;
1869 fputs_unfiltered (",code=\"undefined-command\"", mi->raw_stdout);
1876 /* Determine whether the parsed command already notifies the
1880 command_notifies_uscc_observer (struct mi_parse *command)
1882 if (command->op == CLI_COMMAND)
1885 return (strncmp (command->command, "thread ", 7) == 0
1886 || strncmp (command->command, "inferior ", 9) == 0);
1890 if (strcmp (command->command, "interpreter-exec") == 0
1891 && command->argc > 1)
1894 return (strncmp (command->argv[1], "thread ", 7) == 0
1895 || strncmp (command->argv[1], "inferior ", 9) == 0);
1900 return strcmp (command->command, "thread-select") == 0;
1908 std::unique_ptr<struct mi_parse> command;
1919 command = mi_parse (cmd, &token);
1927 if (command != NULL)
1933 if (command->cmd != NULL && command->cmd->suppress_notification != NULL)
1934 restore_suppress.emplace (command->cmd->suppress_notification, 1);
1936 command->token = token;
1940 command->cmd_start = new mi_timestamp ();
1941 timestamp (command->cmd_start);
1946 captured_mi_execute_command (current_uiout, command.get ());
1951 of the prompt. Otherwise, any command that calls
1957 /* The command execution failed and error() was called
1959 mi_print_exception (command->token, result);
1966 interpreter (specified on the command line) is MI. */
1971 /* If the command already reports the thread change, no need to do it
1973 && !command_notifies_uscc_observer (command.get ()))
1977 if (command->thread == -1)
1987 report_change = (ti->global_num != command->thread);
2076 parse->cmd->argv_func (parse->command, parse->argv, parse->argc);
2081 /* The operation is still implemented by a cli command. */
2091 stb.puts ("Undefined mi command: ");
2092 stb.putstr (parse->command, '"');
2220 /* If the command is -enable-timing then do_timings may be true
2243 mi_cmd_trace_define_variable (const char *command, char **argv, int argc)
2269 mi_cmd_trace_list_variables (const char *command, char **argv, int argc)
2278 mi_cmd_trace_find (const char *command, char **argv, int argc)
2354 mi_cmd_trace_save (const char *command, char **argv, int argc)
2404 mi_cmd_trace_start (const char *command, char **argv, int argc)
2410 mi_cmd_trace_status (const char *command, char **argv, int argc)
2416 mi_cmd_trace_stop (const char *command, char **argv, int argc)
2422 /* Implement the "-ada-task-info" command. */
2425 mi_cmd_ada_task_info (const char *command, char **argv, int argc)
2428 error (_("Invalid MI command"));
2487 /* Implement the "-trace-frame-collected" command. */
2490 mi_cmd_trace_frame_collected (const char *command, char **argv, int argc)
2553 /* This command only makes sense for the current frame, not the
2681 mi_cmd_fix_multi_location_breakpoint_output (const char *command, char **argv,
2687 /* Implement the "-complete" command. */
2690 mi_cmd_complete (const char *command, char **argv, int argc)