)]}'
{
  "commit": "30a87e90be195dcce555a0904cc5dbd960349271",
  "tree": "0d2c98c5a8416afabe6a39e141928b1fb15d0a56",
  "parents": [
    "51d185a65f3679f887d456e20d22475ac8586938"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Mon Jan 24 15:19:43 2022 +0000"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Wed Jan 26 21:58:12 2022 +0000"
  },
  "message": "gdb/python: add gdb.history_count function\n\nAdd a new function gdb.history_count to the Python api, this function\nreturns an integer, the number of items in GDB\u0027s value history.\n\nThis is useful if you want to pull items from the history by their\nabsolute number, for example, if you wanted to show a complete history\nlist.  Previously we could figure out how many items are in the\nhistory list by trying to fetch the items, and then catching the\nexception when the item is not available, but having this function\nseems nicer.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "31dff785d4e1908405e91abcb263354835365d07",
      "old_mode": 33188,
      "old_path": "gdb/NEWS",
      "new_id": "e1900596ca74b9dfcbd428558af314b0ef0edcae",
      "new_mode": 33188,
      "new_path": "gdb/NEWS"
    },
    {
      "type": "modify",
      "old_id": "39bf6e8884dc1907268a95a40931524543e4b3f5",
      "old_mode": 33188,
      "old_path": "gdb/doc/python.texi",
      "new_id": "f1d182729634d9fda821fa83c1eb452fdf858158",
      "new_mode": 33188,
      "new_path": "gdb/doc/python.texi"
    },
    {
      "type": "modify",
      "old_id": "d6ceb54fed8b3adc3e0f3616ec8881b547ea8ef9",
      "old_mode": 33188,
      "old_path": "gdb/python/py-value.c",
      "new_id": "6401d96897f40d9b8e1477856bed3fcf8f8eea73",
      "new_mode": 33188,
      "new_path": "gdb/python/py-value.c"
    },
    {
      "type": "modify",
      "old_id": "ccea5c4a9cd94d97d67a92291b3fbf9dfb78742f",
      "old_mode": 33188,
      "old_path": "gdb/python/python-internal.h",
      "new_id": "5e15f62f74578b6509f2716349f8fc657349695e",
      "new_mode": 33188,
      "new_path": "gdb/python/python-internal.h"
    },
    {
      "type": "modify",
      "old_id": "7ddc170904cce2baf72fff4c41b78a79b096e128",
      "old_mode": 33188,
      "old_path": "gdb/python/python.c",
      "new_id": "2c8081e1b07e38150782a930bc695480c161332f",
      "new_mode": 33188,
      "new_path": "gdb/python/python.c"
    },
    {
      "type": "modify",
      "old_id": "9ee3c5f223d2d9234436a400089b8fd489628c71",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.python/py-value.exp",
      "new_id": "60039c9373f72741bd45f5ef5fb4245150a108da",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-value.exp"
    },
    {
      "type": "modify",
      "old_id": "37c949f0853cbfb07e45cc5091ce8e388b379c5b",
      "old_mode": 33188,
      "old_path": "gdb/value.c",
      "new_id": "7bd9891b3e97a7c101d59433d12853dd43ede900",
      "new_mode": 33188,
      "new_path": "gdb/value.c"
    },
    {
      "type": "modify",
      "old_id": "f91c5a561448b4dc730de3106e0f9bf297e28a89",
      "old_mode": 33188,
      "old_path": "gdb/value.h",
      "new_id": "0de4b5f3aefcd3273238c171e435cfe7103195c6",
      "new_mode": 33188,
      "new_path": "gdb/value.h"
    }
  ]
}
