OpenOCD
|
Go to the source code of this file.
Macros | |
#define | ERROR_GDB_BUFFER_TOO_SMALL (-800) |
#define | ERROR_GDB_TIMEOUT (-801) |
#define | GDB_BUFFER_SIZE 16384 |
Functions | |
int | gdb_put_packet (struct connection *connection, char *buffer, int len) |
int | gdb_register_commands (struct command_context *command_context) |
void | gdb_service_free (void) |
int | gdb_target_add_all (struct target *target) |
static struct target * | get_target_from_connection (struct connection *connection) |
#define ERROR_GDB_BUFFER_TOO_SMALL (-800) |
Definition at line 38 of file gdb_server.h.
#define ERROR_GDB_TIMEOUT (-801) |
Definition at line 39 of file gdb_server.h.
#define GDB_BUFFER_SIZE 16384 |
Definition at line 24 of file gdb_server.h.
int gdb_put_packet | ( | struct connection * | connection, |
char * | buffer, | ||
int | len | ||
) |
Definition at line 531 of file gdb_server.c.
References buffer, gdb_connection::busy, gdb_put_packet_inner(), kept_alive(), and connection::priv.
Referenced by gdb_breakpoint_watchpoint_packet(), gdb_detach(), gdb_fileio_reply(), gdb_get_register_packet(), gdb_get_registers_packet(), gdb_handle_vcont_packet(), gdb_handle_vrun_packet(), gdb_input_inner(), gdb_last_signal_packet(), gdb_memory_map(), gdb_output_con(), gdb_query_packet(), gdb_read_memory_packet(), gdb_read_smp_packet(), gdb_send_error(), gdb_set_register_packet(), gdb_set_registers_packet(), gdb_sig_halted(), gdb_signal_reply(), gdb_v_packet(), gdb_write_memory_binary_packet(), gdb_write_memory_packet(), gdb_write_smp_packet(), hwthread_thread_packet(), linux_gdb_h_packet(), linux_gdb_t_packet(), linux_gdb_thread_packet(), linux_gdb_thread_update(), linux_thread_extra_info(), linux_thread_packet(), nuttx_thread_packet(), rtos_put_gdb_reg_list(), rtos_qsymbol(), and rtos_thread_packet().
int gdb_register_commands | ( | struct command_context * | command_context | ) |
Definition at line 4099 of file gdb_server.c.
References gdb_command_handlers, gdb_port, gdb_port_next, NULL, and register_commands().
Referenced by setup_command_handler().
void gdb_service_free | ( | void | ) |
Definition at line 4106 of file gdb_server.c.
References gdb_port, and gdb_port_next.
Referenced by openocd_main().
int gdb_target_add_all | ( | struct target * | target | ) |
Definition at line 3865 of file gdb_server.c.
References ERROR_OK, gdb_target_add_one(), LOG_WARNING, and target::next.
Referenced by COMMAND_HANDLER().
|
inlinestatic |
Definition at line 32 of file gdb_server.h.
References service::priv, connection::service, and gdb_service::target.
Referenced by gdb_breakpoint_watchpoint_packet(), gdb_connection_closed(), gdb_fileio_response_packet(), gdb_get_register_packet(), gdb_get_registers_packet(), gdb_handle_vcont_packet(), gdb_handle_vrun_packet(), gdb_input_inner(), gdb_last_signal_packet(), gdb_log_incoming_packet(), gdb_log_outgoing_packet(), gdb_memory_map(), gdb_new_connection(), gdb_query_packet(), gdb_read_memory_packet(), gdb_read_smp_packet(), gdb_restart_inferior(), gdb_set_register_packet(), gdb_set_registers_packet(), gdb_step_continue_packet(), gdb_thread_packet(), gdb_v_packet(), gdb_write_memory_binary_packet(), gdb_write_memory_packet(), gdb_write_smp_packet(), hwthread_target_for_threadid(), hwthread_thread_packet(), linux_thread_packet(), rtos_get_gdb_reg(), rtos_get_gdb_reg_list(), rtos_qsymbol(), rtos_set_reg(), rtos_target_for_threadid(), and rtos_thread_packet().