)]}'
{
  "commit": "792b26bb0ce2fce17bab6dc97407aaae12c2276f",
  "tree": "8be5cf35d043984e72438487577919bf2eb28723",
  "parents": [
    "53a7b478f54fc4150bc97f7af2b8d36bccd61b71"
  ],
  "author": {
    "name": "Tankut Baris Aktemur",
    "email": "tankut.baris.aktemur@intel.com",
    "time": "Thu Dec 19 12:31:50 2024 +0100"
  },
  "committer": {
    "name": "Tankut Baris Aktemur",
    "email": "tankut.baris.aktemur@intel.com",
    "time": "Thu Dec 19 12:31:50 2024 +0100"
  },
  "message": "gdbserver: allow suppressing the next putpkt remote-debug log\n\nWhen started with the --debug\u003dremote flag, gdbserver enables the debug\nlogs for the received and sent remote packets.  If the packet contents\nare too long or contain verbatim binary data, printing the contents\nmay create noise in the logs or even distortion in the terminal output.\n\nIntroduce a function, `suppress_next_putpkt_log`, that allows omitting\nthe contents of a sent package in the logs.  This can be useful when a\ncertain packet handler knows that it is sending binary data.\n\nMy first attempt was to implement this mechanism by passing an extra\nparameter to putpt_binary_1 that could be controlled by the caller,\nputpkt_binary or putpkt.  However, all qxfer handlers, regardless of\nwhether they send binary or ascii data, cause the data to be sent via\nputpkt_binary. Hence, the solution was going to be either too\nsuppressive or too intrusive.  I opted for the approach where a package\nhandler would suppress the log explicitly.\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ae9ca5cd76874411248d9461c2fdb60347b821f2",
      "old_mode": 33188,
      "old_path": "gdbserver/debug.cc",
      "new_id": "3d05a76b26a81f78eb9eadfdf86ea3a32d512f6d",
      "new_mode": 33188,
      "new_path": "gdbserver/debug.cc"
    },
    {
      "type": "modify",
      "old_id": "f78ef2580c3956935cae96355646cc285deb6325",
      "old_mode": 33188,
      "old_path": "gdbserver/debug.h",
      "new_id": "eb6f69549aedd2094d445203a58610b6d26e6fa2",
      "new_mode": 33188,
      "new_path": "gdbserver/debug.h"
    },
    {
      "type": "modify",
      "old_id": "3584697b2abb92fc7a8e658e702262c9c70bc160",
      "old_mode": 33188,
      "old_path": "gdbserver/remote-utils.cc",
      "new_id": "df606c71bba8e2f4721a66373f8729d9f50d0bd3",
      "new_mode": 33188,
      "new_path": "gdbserver/remote-utils.cc"
    }
  ]
}
