GDBServer: Send invalid instead of zero values for extra registers

pull/3782/head
Stenzek 2 months ago
parent c2418520ef
commit 0a00cbc3ce
No known key found for this signature in database

@ -216,7 +216,7 @@ bool GDBServer::Cmd$g(ClientSocket* client, std::string_view data)
// Pad with dummy data (FP registers stuff).
for (int i = 0; i < NUM_GDB_REGISTERS - static_cast<int>(REGISTERS.size()); i++)
reply.append("00000000");
reply.append("xxxxxxxx");
client->SendReplyWithAck(reply);
return true;

Loading…
Cancel
Save