Remove unneeded debug prints
This commit is contained in:
parent
963e001946
commit
fa1a497f1f
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue