)]}'
{
  "commit": "28561a655942f8e2a70a3b64e867223a60aae7b1",
  "tree": "ef00a04a38f8a5ef566bb331578d69ce87b04f01",
  "parents": [
    "a4543480c5e7879955c57e20ab4e8935961153b5"
  ],
  "author": {
    "name": "Simon Marchi",
    "email": "simon.marchi@efficios.com",
    "time": "Wed Dec 01 09:40:02 2021 -0500"
  },
  "committer": {
    "name": "Simon Marchi",
    "email": "simon.marchi@efficios.com",
    "time": "Wed Dec 08 21:00:39 2021 -0500"
  },
  "message": "gdb/remote.c: refactor pending fork status functions\n\nIn preparation for a following patch, refactor a few things that I did\nfind a bit awkward, and to make them a bit more reusable.\n\n - Pass an inferior to kill_new_fork_children instead of a pid.  That\n   allows iterating on only this inferior\u0027s threads and avoid further\n   filtering on the thread\u0027s pid.\n - Change thread_pending_fork_status to return a non-nullptr value only\n   if the thread does have a pending fork status.\n - Remove is_pending_fork_parent_thread, as one can just use\n   thread_pending_fork_status and check for nullptr.\n - Replace is_pending_fork_parent with is_fork_status, which just\n   returns if the given target_waitkind if a fork or a vfork.  Push\n   filtering on the pid to the callers, when it is necessary.\n\nChange-Id: I0764ccc684d40f054e39df6fa5458cc4c5d1cd7b\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f78417b5de779659e1e3117a01cfd119916f42ce",
      "old_mode": 33188,
      "old_path": "gdb/remote.c",
      "new_id": "d70acdc26c06e00e82e85a137acaaa75f2678d3e",
      "new_mode": 33188,
      "new_path": "gdb/remote.c"
    }
  ]
}
