Skip to content

Commit

Permalink
Explicitly reject QEnableErrorStrings
Browse files Browse the repository at this point in the history
  • Loading branch information
rocallahan committed Feb 26, 2024
1 parent 6509815 commit e13b60a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/GdbServerConnection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,11 @@ bool GdbServerConnection::query(char* payload) {
write_packet("");
return false;
}
if (!strcmp(name, "EnableErrorStrings")) {
// We don't support human-readable error strings.
write_packet("");
return false;
}

UNHANDLED_REQ() << "Unhandled debugger query: q" << name;
return false;
Expand Down

0 comments on commit e13b60a

Please sign in to comment.