Skip to content

Commit

Permalink
Explicitly reject qShlibInfoAddr; it's not documented for Linux, and …
Browse files Browse the repository at this point in the history
…lldb-server doesn't support it
  • Loading branch information
rocallahan committed Mar 9, 2024
1 parent 3192471 commit a19e7fd
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 @@ -905,6 +905,11 @@ bool GdbServerConnection::query(char* payload) {
write_packet("");
return false;
}
if (!strcmp(name, "ShlibInfoAddr")) {
// This isn't documented and lldb-server doesn't seem to support it
write_packet("");
return false;
}

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

0 comments on commit a19e7fd

Please sign in to comment.