OpenOCD
gdb_server.h File Reference
Include dependency graph for gdb_server.h:
This graph shows which files directly or indirectly include this file:

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_get_actual_connections (void)
 
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 targetget_target_from_connection (struct connection *connection)
 

Macro Definition Documentation

◆ ERROR_GDB_BUFFER_TOO_SMALL

#define ERROR_GDB_BUFFER_TOO_SMALL   (-800)

Definition at line 41 of file gdb_server.h.

◆ ERROR_GDB_TIMEOUT

#define ERROR_GDB_TIMEOUT   (-801)

Definition at line 42 of file gdb_server.h.

◆ GDB_BUFFER_SIZE

#define GDB_BUFFER_SIZE   16384

Definition at line 25 of file gdb_server.h.

Function Documentation

◆ gdb_get_actual_connections()

int gdb_get_actual_connections ( void  )

Definition at line 4155 of file gdb_server.c.

References gdb_actual_connections.

Referenced by gdb_timeout_warning(), and semihosting_common().

◆ gdb_put_packet()

◆ gdb_register_commands()

int gdb_register_commands ( struct command_context command_context)

Definition at line 4142 of file gdb_server.c.

References gdb_command_handlers, gdb_port, gdb_port_next, NULL, and register_commands().

Referenced by setup_command_handler().

◆ gdb_service_free()

void gdb_service_free ( void  )

Definition at line 4149 of file gdb_server.c.

References gdb_port, and gdb_port_next.

Referenced by openocd_main().

◆ gdb_target_add_all()

int gdb_target_add_all ( struct target target)

Definition at line 3908 of file gdb_server.c.

References ERROR_OK, gdb_target_add_one(), LOG_WARNING, and target::next.

Referenced by COMMAND_HANDLER().

◆ get_target_from_connection()