)]}'
{
  "commit": "ae9aa73767ca46f34ee6ea915bdf13b77d058d4d",
  "tree": "877c64847db60e0e365500e558b722fc0eaa3deb",
  "parents": [
    "1527fe5f584c71dbf006c6646fe2ff729d7b2b48"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Mon Nov 29 13:52:40 2021 +0000"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Tue Nov 30 13:05:57 2021 +0000"
  },
  "message": "gdb/testsuite: check the python module is available before using it\n\nThe gdb.python/py-inferior-leak.exp test makes use of the tracemalloc\nmodule.  When running the Python tests with a GDB built against Python\n2 I ran into a test failure due to the tracemalloc module not being\navailable.\n\nThis commit adds a new helper function to lib/gdb-python.exp that\nchecks if a named module is available.  Using this we can then skip\nthe py-inferior-leak.exp test when the tracemalloc module is not\navailable.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9cd1ebf243333e068316f32b52bc19b339242428",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.python/py-inferior-leak.exp",
      "new_id": "15d742391de57078ad5e852011c442afa4ab86a0",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-inferior-leak.exp"
    },
    {
      "type": "modify",
      "old_id": "13a1ab517f17e91db7c53e4510d973858eebe86d",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/lib/gdb-python.exp",
      "new_id": "60931fec28aaac15bea7e028f0a08b00bdc35ad6",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/lib/gdb-python.exp"
    }
  ]
}
