GDB (xrefs)

Classes | Typedefs | Enumerations | Functions | Variables
mi-cmds.h File Reference

Go to the source code of this file.

## Classes
struct | mi_cli
struct | mi_cmd

## Typedefs
typedef void() | mi_cmd_argv_ftype(const char *command, char **argv, int argc)

## Enumerations
enum | print_values { PRINT_NO_VALUES, PRINT_ALL_VALUES, PRINT_SIMPLE_VALUES }

## Functions
struct mi_cmd * | mi_lookup (const char *command)
void | mi_execute_command (const char *cmd, int from_tty)

## Variables
mi_cmd_argv_ftype | mi_cmd_ada_task_info
mi_cmd_argv_ftype | mi_cmd_add_inferior
mi_cmd_argv_ftype | mi_cmd_break_insert
mi_cmd_argv_ftype | mi_cmd_dprintf_insert
mi_cmd_argv_ftype | mi_cmd_break_commands
mi_cmd_argv_ftype | mi_cmd_break_passcount
mi_cmd_argv_ftype | mi_cmd_break_watch
mi_cmd_argv_ftype | mi_cmd_catch_assert
mi_cmd_argv_ftype | mi_cmd_catch_exception
mi_cmd_argv_ftype | mi_cmd_catch_load
mi_cmd_argv_ftype | mi_cmd_catch_unload
mi_cmd_argv_ftype | mi_cmd_disassemble
mi_cmd_argv_ftype | mi_cmd_data_evaluate_expression
mi_cmd_argv_ftype | mi_cmd_data_list_register_names
mi_cmd_argv_ftype | mi_cmd_data_list_register_values
mi_cmd_argv_ftype | mi_cmd_data_list_changed_registers
mi_cmd_argv_ftype | mi_cmd_data_read_memory
mi_cmd_argv_ftype | mi_cmd_data_read_memory_bytes
mi_cmd_argv_ftype | mi_cmd_data_write_memory
mi_cmd_argv_ftype | mi_cmd_data_write_memory_bytes
mi_cmd_argv_ftype | mi_cmd_data_write_register_values
mi_cmd_argv_ftype | mi_cmd_enable_timings
mi_cmd_argv_ftype | mi_cmd_env_cd
mi_cmd_argv_ftype | mi_cmd_env_dir
mi_cmd_argv_ftype | mi_cmd_env_path
mi_cmd_argv_ftype | mi_cmd_env_pwd
mi_cmd_argv_ftype | mi_cmd_exec_continue
mi_cmd_argv_ftype | mi_cmd_exec_finish
mi_cmd_argv_ftype | mi_cmd_exec_interrupt
mi_cmd_argv_ftype | mi_cmd_exec_jump
mi_cmd_argv_ftype | mi_cmd_exec_next
mi_cmd_argv_ftype | mi_cmd_exec_next_instruction
mi_cmd_argv_ftype | mi_cmd_exec_return
mi_cmd_argv_ftype | mi_cmd_exec_run
mi_cmd_argv_ftype | mi_cmd_exec_step
mi_cmd_argv_ftype | mi_cmd_exec_step_instruction
mi_cmd_argv_ftype | mi_cmd_file_list_exec_source_file
mi_cmd_argv_ftype | mi_cmd_file_list_exec_source_files
mi_cmd_argv_ftype | mi_cmd_file_list_shared_libraries
mi_cmd_argv_ftype | mi_cmd_gdb_exit
mi_cmd_argv_ftype | mi_cmd_inferior_tty_set
mi_cmd_argv_ftype | mi_cmd_inferior_tty_show
mi_cmd_argv_ftype | mi_cmd_info_ada_exceptions
mi_cmd_argv_ftype | mi_cmd_info_gdb_mi_command
mi_cmd_argv_ftype | mi_cmd_info_os
mi_cmd_argv_ftype | mi_cmd_interpreter_exec
mi_cmd_argv_ftype | mi_cmd_list_features
mi_cmd_argv_ftype | mi_cmd_list_target_features
mi_cmd_argv_ftype | mi_cmd_list_thread_groups
mi_cmd_argv_ftype | mi_cmd_remove_inferior
mi_cmd_argv_ftype | mi_cmd_stack_info_depth
mi_cmd_argv_ftype | mi_cmd_stack_info_frame
mi_cmd_argv_ftype | mi_cmd_stack_list_args
mi_cmd_argv_ftype | mi_cmd_stack_list_frames
mi_cmd_argv_ftype | mi_cmd_stack_list_locals
mi_cmd_argv_ftype | mi_cmd_stack_list_variables
mi_cmd_argv_ftype | mi_cmd_stack_select_frame
mi_cmd_argv_ftype | mi_cmd_symbol_list_lines
mi_cmd_argv_ftype | mi_cmd_target_detach
mi_cmd_argv_ftype | mi_cmd_target_file_get
mi_cmd_argv_ftype | mi_cmd_target_file_put
mi_cmd_argv_ftype | mi_cmd_target_file_delete
mi_cmd_argv_ftype | mi_cmd_target_flash_erase
mi_cmd_argv_ftype | mi_cmd_thread_info
mi_cmd_argv_ftype | mi_cmd_thread_list_ids
mi_cmd_argv_ftype | mi_cmd_thread_select
mi_cmd_argv_ftype | mi_cmd_trace_define_variable
mi_cmd_argv_ftype | mi_cmd_trace_find
mi_cmd_argv_ftype | mi_cmd_trace_frame_collected
mi_cmd_argv_ftype | mi_cmd_trace_list_variables
mi_cmd_argv_ftype | mi_cmd_trace_save
mi_cmd_argv_ftype | mi_cmd_trace_start
mi_cmd_argv_ftype | mi_cmd_trace_status
mi_cmd_argv_ftype | mi_cmd_trace_stop
mi_cmd_argv_ftype | mi_cmd_var_assign
mi_cmd_argv_ftype | mi_cmd_var_create
mi_cmd_argv_ftype | mi_cmd_var_delete
mi_cmd_argv_ftype | mi_cmd_var_evaluate_expression
mi_cmd_argv_ftype | mi_cmd_var_info_expression
mi_cmd_argv_ftype | mi_cmd_var_info_path_expression
mi_cmd_argv_ftype | mi_cmd_var_info_num_children
mi_cmd_argv_ftype | mi_cmd_var_info_type
mi_cmd_argv_ftype | mi_cmd_var_list_children
mi_cmd_argv_ftype | mi_cmd_var_set_format
mi_cmd_argv_ftype | mi_cmd_var_set_frozen
mi_cmd_argv_ftype | mi_cmd_var_set_visualizer
mi_cmd_argv_ftype | mi_cmd_var_show_attributes
mi_cmd_argv_ftype | mi_cmd_var_show_format
mi_cmd_argv_ftype | mi_cmd_var_update
mi_cmd_argv_ftype | mi_cmd_enable_pretty_printing
mi_cmd_argv_ftype | mi_cmd_enable_frame_filters
mi_cmd_argv_ftype | mi_cmd_var_set_update_range
int | mi_debug_p

## Typedef Documentation

## ◆ mi_cmd_argv_ftype

typedef void() mi_cmd_argv_ftype(const char *command, char **argv, int argc)

Definition at line 31 of file mi-cmds.h.

## Enumeration Type Documentation

## ◆ print_values

enum print_values

Enumerator
PRINT_NO_VALUES |
PRINT_ALL_VALUES |
PRINT_SIMPLE_VALUES |

Definition at line 25 of file mi-cmds.h.

## Function Documentation

## ◆ mi_execute_command()

void mi_execute_command | ( | const char * | cmd,
|  | int | from_tty
| ) |  |

Definition at line 1937 of file mi-main.c.

References async_enable_stdin(), bpstat_do_actions(), captured_mi_execute_command(), CATCH, command_notifies_uscc_observer(), current_ui, current_uiout, do_timings, gdb::optional< T >::emplace(), END_CATCH, thread_info::global_num, inferior_ptid, inferior_thread(), interp_ui_out(), mi_out_rewind(), mi_parse(), mi_print_exception(), null_ptid, observer_notify_user_selected_context_changed(), PROMPT_NEEDED, ui::prompt_state, ptid_equal(), quit_force(), RETURN_MASK_ALL, target_log_command, thread_count(), timestamp(), token, top_level_interpreter(), TRY, USER_SELECTED_FRAME, USER_SELECTED_THREAD, and xfree().

Referenced by mi_execute_command_wrapper().

## ◆ mi_lookup()

struct mi_cmd* mi_lookup | ( | const char * | command | ) |

Definition at line 197 of file mi-cmds.c.

References lookup_table().

Referenced by mi_cmd_info_gdb_mi_command(), and mi_parse().

## Variable Documentation

## ◆ mi_cmd_ada_task_info

mi_cmd_argv_ftype mi_cmd_ada_task_info

## ◆ mi_cmd_add_inferior

mi_cmd_argv_ftype mi_cmd_add_inferior

## ◆ mi_cmd_break_commands

mi_cmd_argv_ftype mi_cmd_break_commands

## ◆ mi_cmd_break_insert

mi_cmd_argv_ftype mi_cmd_break_insert

## ◆ mi_cmd_break_passcount

mi_cmd_argv_ftype mi_cmd_break_passcount

## ◆ mi_cmd_break_watch

mi_cmd_argv_ftype mi_cmd_break_watch

## ◆ mi_cmd_catch_assert

mi_cmd_argv_ftype mi_cmd_catch_assert

## ◆ mi_cmd_catch_exception

mi_cmd_argv_ftype mi_cmd_catch_exception

## ◆ mi_cmd_catch_load

mi_cmd_argv_ftype mi_cmd_catch_load

## ◆ mi_cmd_catch_unload

mi_cmd_argv_ftype mi_cmd_catch_unload

## ◆ mi_cmd_data_evaluate_expression

mi_cmd_argv_ftype mi_cmd_data_evaluate_expression

## ◆ mi_cmd_data_list_changed_registers

mi_cmd_argv_ftype mi_cmd_data_list_changed_registers

## ◆ mi_cmd_data_list_register_names

mi_cmd_argv_ftype mi_cmd_data_list_register_names

## ◆ mi_cmd_data_list_register_values

mi_cmd_argv_ftype mi_cmd_data_list_register_values

## ◆ mi_cmd_data_read_memory

mi_cmd_argv_ftype mi_cmd_data_read_memory

## ◆ mi_cmd_data_read_memory_bytes

mi_cmd_argv_ftype mi_cmd_data_read_memory_bytes

## ◆ mi_cmd_data_write_memory

mi_cmd_argv_ftype mi_cmd_data_write_memory

## ◆ mi_cmd_data_write_memory_bytes

mi_cmd_argv_ftype mi_cmd_data_write_memory_bytes

## ◆ mi_cmd_data_write_register_values

mi_cmd_argv_ftype mi_cmd_data_write_register_values

## ◆ mi_cmd_disassemble

mi_cmd_argv_ftype mi_cmd_disassemble

## ◆ mi_cmd_dprintf_insert

mi_cmd_argv_ftype mi_cmd_dprintf_insert

## ◆ mi_cmd_enable_frame_filters

mi_cmd_argv_ftype mi_cmd_enable_frame_filters

## ◆ mi_cmd_enable_pretty_printing

mi_cmd_argv_ftype mi_cmd_enable_pretty_printing

## ◆ mi_cmd_enable_timings

mi_cmd_argv_ftype mi_cmd_enable_timings

## ◆ mi_cmd_env_cd

mi_cmd_argv_ftype mi_cmd_env_cd

## ◆ mi_cmd_env_dir

mi_cmd_argv_ftype mi_cmd_env_dir

## ◆ mi_cmd_env_path

mi_cmd_argv_ftype mi_cmd_env_path

## ◆ mi_cmd_env_pwd

mi_cmd_argv_ftype mi_cmd_env_pwd

## ◆ mi_cmd_exec_continue

mi_cmd_argv_ftype mi_cmd_exec_continue

## ◆ mi_cmd_exec_finish

mi_cmd_argv_ftype mi_cmd_exec_finish

## ◆ mi_cmd_exec_interrupt

mi_cmd_argv_ftype mi_cmd_exec_interrupt

## ◆ mi_cmd_exec_jump

mi_cmd_argv_ftype mi_cmd_exec_jump

## ◆ mi_cmd_exec_next

mi_cmd_argv_ftype mi_cmd_exec_next

## ◆ mi_cmd_exec_next_instruction

mi_cmd_argv_ftype mi_cmd_exec_next_instruction

## ◆ mi_cmd_exec_return

mi_cmd_argv_ftype mi_cmd_exec_return

## ◆ mi_cmd_exec_run

mi_cmd_argv_ftype mi_cmd_exec_run

## ◆ mi_cmd_exec_step

mi_cmd_argv_ftype mi_cmd_exec_step

## ◆ mi_cmd_exec_step_instruction

mi_cmd_argv_ftype mi_cmd_exec_step_instruction

## ◆ mi_cmd_file_list_exec_source_file

mi_cmd_argv_ftype mi_cmd_file_list_exec_source_file

## ◆ mi_cmd_file_list_exec_source_files

mi_cmd_argv_ftype mi_cmd_file_list_exec_source_files

## ◆ mi_cmd_file_list_shared_libraries

mi_cmd_argv_ftype mi_cmd_file_list_shared_libraries

## ◆ mi_cmd_gdb_exit

mi_cmd_argv_ftype mi_cmd_gdb_exit

## ◆ mi_cmd_inferior_tty_set

mi_cmd_argv_ftype mi_cmd_inferior_tty_set

## ◆ mi_cmd_inferior_tty_show

mi_cmd_argv_ftype mi_cmd_inferior_tty_show

## ◆ mi_cmd_info_ada_exceptions

mi_cmd_argv_ftype mi_cmd_info_ada_exceptions

## ◆ mi_cmd_info_gdb_mi_command

mi_cmd_argv_ftype mi_cmd_info_gdb_mi_command

## ◆ mi_cmd_info_os

mi_cmd_argv_ftype mi_cmd_info_os

## ◆ mi_cmd_interpreter_exec

mi_cmd_argv_ftype mi_cmd_interpreter_exec

Referenced by captured_mi_execute_command().

## ◆ mi_cmd_list_features

mi_cmd_argv_ftype mi_cmd_list_features

## ◆ mi_cmd_list_target_features

mi_cmd_argv_ftype mi_cmd_list_target_features

## ◆ mi_cmd_list_thread_groups

mi_cmd_argv_ftype mi_cmd_list_thread_groups

## ◆ mi_cmd_remove_inferior

mi_cmd_argv_ftype mi_cmd_remove_inferior

## ◆ mi_cmd_stack_info_depth

mi_cmd_argv_ftype mi_cmd_stack_info_depth

## ◆ mi_cmd_stack_info_frame

mi_cmd_argv_ftype mi_cmd_stack_info_frame

## ◆ mi_cmd_stack_list_args

mi_cmd_argv_ftype mi_cmd_stack_list_args

## ◆ mi_cmd_stack_list_frames

mi_cmd_argv_ftype mi_cmd_stack_list_frames

## ◆ mi_cmd_stack_list_locals

mi_cmd_argv_ftype mi_cmd_stack_list_locals

## ◆ mi_cmd_stack_list_variables

mi_cmd_argv_ftype mi_cmd_stack_list_variables

## ◆ mi_cmd_stack_select_frame

mi_cmd_argv_ftype mi_cmd_stack_select_frame

## ◆ mi_cmd_symbol_list_lines

mi_cmd_argv_ftype mi_cmd_symbol_list_lines

## ◆ mi_cmd_target_detach

mi_cmd_argv_ftype mi_cmd_target_detach

## ◆ mi_cmd_target_file_delete

mi_cmd_argv_ftype mi_cmd_target_file_delete

## ◆ mi_cmd_target_file_get

mi_cmd_argv_ftype mi_cmd_target_file_get

## ◆ mi_cmd_target_file_put

mi_cmd_argv_ftype mi_cmd_target_file_put

## ◆ mi_cmd_target_flash_erase

mi_cmd_argv_ftype mi_cmd_target_flash_erase

## ◆ mi_cmd_thread_info

mi_cmd_argv_ftype mi_cmd_thread_info

## ◆ mi_cmd_thread_list_ids

mi_cmd_argv_ftype mi_cmd_thread_list_ids

## ◆ mi_cmd_thread_select

mi_cmd_argv_ftype mi_cmd_thread_select

## ◆ mi_cmd_trace_define_variable

mi_cmd_argv_ftype mi_cmd_trace_define_variable

## ◆ mi_cmd_trace_find

mi_cmd_argv_ftype mi_cmd_trace_find

## ◆ mi_cmd_trace_frame_collected

mi_cmd_argv_ftype mi_cmd_trace_frame_collected

## ◆ mi_cmd_trace_list_variables

mi_cmd_argv_ftype mi_cmd_trace_list_variables

## ◆ mi_cmd_trace_save

mi_cmd_argv_ftype mi_cmd_trace_save

## ◆ mi_cmd_trace_start

mi_cmd_argv_ftype mi_cmd_trace_start

## ◆ mi_cmd_trace_status

mi_cmd_argv_ftype mi_cmd_trace_status

## ◆ mi_cmd_trace_stop

mi_cmd_argv_ftype mi_cmd_trace_stop

## ◆ mi_cmd_var_assign

mi_cmd_argv_ftype mi_cmd_var_assign

## ◆ mi_cmd_var_create

mi_cmd_argv_ftype mi_cmd_var_create

## ◆ mi_cmd_var_delete

mi_cmd_argv_ftype mi_cmd_var_delete

## ◆ mi_cmd_var_evaluate_expression

mi_cmd_argv_ftype mi_cmd_var_evaluate_expression

## ◆ mi_cmd_var_info_expression

mi_cmd_argv_ftype mi_cmd_var_info_expression

## ◆ mi_cmd_var_info_num_children

mi_cmd_argv_ftype mi_cmd_var_info_num_children

## ◆ mi_cmd_var_info_path_expression

mi_cmd_argv_ftype mi_cmd_var_info_path_expression

## ◆ mi_cmd_var_info_type

mi_cmd_argv_ftype mi_cmd_var_info_type

## ◆ mi_cmd_var_list_children

mi_cmd_argv_ftype mi_cmd_var_list_children

## ◆ mi_cmd_var_set_format

mi_cmd_argv_ftype mi_cmd_var_set_format

## ◆ mi_cmd_var_set_frozen

mi_cmd_argv_ftype mi_cmd_var_set_frozen

## ◆ mi_cmd_var_set_update_range

mi_cmd_argv_ftype mi_cmd_var_set_update_range

## ◆ mi_cmd_var_set_visualizer

mi_cmd_argv_ftype mi_cmd_var_set_visualizer

## ◆ mi_cmd_var_show_attributes

mi_cmd_argv_ftype mi_cmd_var_show_attributes

## ◆ mi_cmd_var_show_format

mi_cmd_argv_ftype mi_cmd_var_show_format

## ◆ mi_cmd_var_update

mi_cmd_argv_ftype mi_cmd_var_update

## ◆ mi_debug_p

int mi_debug_p

Definition at line 73 of file mi-main.c.

Referenced by captured_mi_execute_command(), and mi_execute_cli_command().