Print signal replies

This commit is contained in:
Palmer Dabbelt 2018-05-30 02:17:05 -07:00
parent a7e00a8e72
commit ab5dbc6168
1 changed files with 4 additions and 0 deletions

View File

@ -779,6 +779,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;
}