Revert unnecessary change.

This reduces the diff with upstream.

Change-Id: I83eaa6317b4ec183f76ca5f7eb69eefe84aaa17a
This commit is contained in:
Tim Newsome 2018-06-25 14:09:47 -07:00
parent 5d9f486404
commit d8c31bfd2c
2 changed files with 3 additions and 2 deletions

View File

@ -112,6 +112,8 @@ static char *gdb_port_next;
static void gdb_log_callback(void *priv, const char *file, unsigned line,
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
* in helper/log.c when no gdb connections are actually active */
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);
}
void gdb_sig_halted(struct connection *connection)
static void gdb_sig_halted(struct connection *connection)
{
char sig_reply[4];
snprintf(sig_reply, 4, "T%2.2x", 2);

View File

@ -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_sig_halted(struct connection *connection);
#define ERROR_GDB_BUFFER_TOO_SMALL (-800)
#define ERROR_GDB_TIMEOUT (-801)