Remove unneeded debug prints

This commit is contained in:
Konstantin Nazarov 2024-12-08 23:35:32 +00:00
parent 963e001946
commit fa1a497f1f
Signed by: knazarov
GPG key ID: 4CFE0A42FA409C22

View file

@ -42,7 +42,6 @@ void GDBStub::run() {
try { try {
while (running) { while (running) {
std::string packet = receive_packet(); std::string packet = receive_packet();
std::cout << "received packet: " << packet << "\n";
handle_packet(packet); handle_packet(packet);
} }
} catch (const std::exception &e) { } catch (const std::exception &e) {
@ -170,9 +169,7 @@ void GDBStub::handle_packet(const std::string &packet) {
break; break;
case 'q': case 'q':
std::cout << "received q\n";
if (packet.find("qSupported") == 0) { if (packet.find("qSupported") == 0) {
std::cout << "received qSupported\n";
send_packet("PacketSize=4096"); // Example capability send_packet("PacketSize=4096"); // Example capability
} else { } else {
send_packet(""); // Empty response send_packet(""); // Empty response