commit
c7bcdab242
|
@ -112,6 +112,8 @@ static char *gdb_port_next;
|
||||||
static void gdb_log_callback(void *priv, const char *file, unsigned line,
|
static void gdb_log_callback(void *priv, const char *file, unsigned line,
|
||||||
const char *function, const char *string);
|
const char *function, const char *string);
|
||||||
|
|
||||||
|
static void gdb_sig_halted(struct connection *connection);
|
||||||
|
|
||||||
/* number of gdb connections, mainly to suppress gdb related debugging spam
|
/* number of gdb connections, mainly to suppress gdb related debugging spam
|
||||||
* in helper/log.c when no gdb connections are actually active */
|
* in helper/log.c when no gdb connections are actually active */
|
||||||
int gdb_actual_connections;
|
int gdb_actual_connections;
|
||||||
|
@ -3086,7 +3088,7 @@ static void gdb_log_callback(void *priv, const char *file, unsigned line,
|
||||||
gdb_output_con(connection, string);
|
gdb_output_con(connection, string);
|
||||||
}
|
}
|
||||||
|
|
||||||
void gdb_sig_halted(struct connection *connection)
|
static void gdb_sig_halted(struct connection *connection)
|
||||||
{
|
{
|
||||||
char sig_reply[4];
|
char sig_reply[4];
|
||||||
snprintf(sig_reply, 4, "T%2.2x", 2);
|
snprintf(sig_reply, 4, "T%2.2x", 2);
|
||||||
|
|
|
@ -47,7 +47,6 @@ static inline struct target *get_target_from_connection(struct connection *conne
|
||||||
}
|
}
|
||||||
|
|
||||||
void gdb_set_frontend_state_running(struct connection *connection);
|
void gdb_set_frontend_state_running(struct connection *connection);
|
||||||
void gdb_sig_halted(struct connection *connection);
|
|
||||||
|
|
||||||
#define ERROR_GDB_BUFFER_TOO_SMALL (-800)
|
#define ERROR_GDB_BUFFER_TOO_SMALL (-800)
|
||||||
#define ERROR_GDB_TIMEOUT (-801)
|
#define ERROR_GDB_TIMEOUT (-801)
|
||||||
|
|
Loading…
Reference in New Issue