Added logging statement

This commit is contained in:
cgsfv 2018-10-19 13:09:54 +02:00
parent b36dbff869
commit 57103fc3c5
1 changed files with 4 additions and 0 deletions

View File

@ -781,6 +781,10 @@ static void gdb_signal_reply(struct target *target, struct connection *connectio
gdb_connection->ctrl_c = 0;
}
char sig_reply_str[46];
memset(sig_reply_str, '\0', 46);
strncpy(sig_reply_str, sig_reply, 46);
LOG_DEBUG("signal reply: %s", sig_reply_str);
gdb_put_packet(connection, sig_reply, sig_reply_len);
gdb_connection->frontend_state = TARGET_HALTED;
}