)]}'
{
  "commit": "2bb7589ddf61e163f2e414e7033fad56ea17e784",
  "tree": "8b026bfba1304d7ea6460407593771a75a5c5309",
  "parents": [
    "a6e7fea128b8e1da3ea99dc906df56f85589d335"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Mon Nov 08 15:17:16 2021 +0000"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Tue Nov 16 17:45:44 2021 +0000"
  },
  "message": "gdbsupport: move xfree into its own file\n\nIn the next commit I\u0027d like to reference gdb_unique_ptr within the\ncommon-utils.h file.  However, this requires that I include\ngdb_unique_ptr.h, which requires that xfree be defined.\n\nInterestingly, gdb_unique_ptr.h doesn\u0027t actually include anything that\ndefines xfree, but I was finding that when I added a gdb_unique_ptr.h\ninclude to common-utils.h I was getting a dependency cycle; before my\nchange xfree was defined when gdb_unique_ptr.h was processed, while\nafter my change it was not, and this made g++ unhappy.\n\nTo break this cycle, I propose to move xfree into its own header file,\ngdb-xfree.h, which I\u0027ll then include into gdb_unique_ptr.h and\ncommon-utils.cc.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8ce839a54ae72217d35b0965f72b38393dcb4bf2",
      "old_mode": 33188,
      "old_path": "gdbsupport/common-utils.cc",
      "new_id": "7a8434538dcfb70f39323d9d1bc6a39802acb558",
      "new_mode": 33188,
      "new_path": "gdbsupport/common-utils.cc"
    },
    {
      "type": "modify",
      "old_id": "224e1f3122268b49e598f76158a5c5e84cc6ed5b",
      "old_mode": 33188,
      "old_path": "gdbsupport/common-utils.h",
      "new_id": "4a75e67079fdce2a40b7373399cc09da9fe933bb",
      "new_mode": 33188,
      "new_path": "gdbsupport/common-utils.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2028698564e81fe42bb57f46750f1ddc74e5db7d",
      "new_mode": 33188,
      "new_path": "gdbsupport/gdb-xfree.h"
    },
    {
      "type": "modify",
      "old_id": "77aecb48e62959077f982bd8e04ffd4e5fed0d49",
      "old_mode": 33188,
      "old_path": "gdbsupport/gdb_unique_ptr.h",
      "new_id": "a4904ead57c39aea0b52ab9e1f87d20dfa9218be",
      "new_mode": 33188,
      "new_path": "gdbsupport/gdb_unique_ptr.h"
    }
  ]
}
