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 {
|
||||
while (running) {
|
||||
std::string packet = receive_packet();
|
||||
std::cout << "received packet: " << packet << "\n";
|
||||
handle_packet(packet);
|
||||
}
|
||||
} catch (const std::exception &e) {
|
||||
|
@ -170,9 +169,7 @@ void GDBStub::handle_packet(const std::string &packet) {
|
|||
break;
|
||||
|
||||
case 'q':
|
||||
std::cout << "received q\n";
|
||||
if (packet.find("qSupported") == 0) {
|
||||
std::cout << "received qSupported\n";
|
||||
send_packet("PacketSize=4096"); // Example capability
|
||||
} else {
|
||||
send_packet(""); // Empty response
|
||||
|
|
Loading…
Reference in a new issue