)]}'
{
  "commit": "0576dff20f052ab6d1ddba861235c7dc2584a145",
  "tree": "bf13ca4bf84057252c0be0c31d44ca51eff6c41b",
  "parents": [
    "2dc3457a454a35d0617dc1f9cc1db77468471f95"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Thu Oct 20 10:58:02 2022 +0100"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Mon Apr 03 14:46:32 2023 +0100"
  },
  "message": "gdbserver: allows agent_mem_read to return an error code\n\nCurrently the gdbserver function agent_mem_read ignores any errors\nfrom calling read_inferior_memory.  This means that if there is an\nattempt to access invalid memory then this will appear to succeed.\n\nIn this patch I update agent_mem_read so that if read_inferior_memory\nfails, agent_mem_read will return an error code.\n\nHowever, none of the callers of agent_mem_read actually check the\nreturn value, so this commit will have no effect on anything.  In the\nnext commit I will update the users of agent_mem_read to check for the\nerror code.\n\nI\u0027ve also updated the header comments on agent_mem_read to better\nreflect what the function does, and its possible return values.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3f60989e4c7f693b363899fe1b8918b905cb791d",
      "old_mode": 33188,
      "old_path": "gdbserver/tracepoint.cc",
      "new_id": "125a384ffb386b321c491a06fd33a906760d145e",
      "new_mode": 33188,
      "new_path": "gdbserver/tracepoint.cc"
    },
    {
      "type": "modify",
      "old_id": "060d44d00334c1976f0e4a207941469b1144faf9",
      "old_mode": 33188,
      "old_path": "gdbserver/tracepoint.h",
      "new_id": "1f40d7b5177678f5cee475f6b14cd74ef3b90570",
      "new_mode": 33188,
      "new_path": "gdbserver/tracepoint.h"
    }
  ]
}
