)]}'
{
  "commit": "b52c9bb8929a0f7010e2cec5cc16562d01a84de3",
  "tree": "20264103378e0557172e2cfbac75fca9edb580f4",
  "parents": [
    "bfaa4d5816f5ee5bee9699b6b9354e60e52be58b"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Thu Dec 04 10:29:52 2025 +0100"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Thu Dec 04 10:29:52 2025 +0100"
  },
  "message": "[gdb/testsuite] Fix build-id check in gdb.python/py-missing-objfile.exp\n\nI recently added two requires in test-case gdb.python/py-missing-objfile.exp:\n...\n# The following tests assume that the build-ids of binfile and libfile can be\n# found in the core file.\nrequire {expect_build_id_in_core_file $binfile}\nrequire {expect_build_id_in_core_file $libfile}\n...\n\nHowever, at the point where the check is done, the files are no longer\navailable at that location, which makes the require fail.\n\nFirst, make the problem visible, by making proc expect_build_id_in_core_file\nthrow an error if the filename argument specifies a non-existing file.\n\nThen, fix test-case gdb.python/py-missing-objfile.exp by moving the calls to\nexpect_build_id_in_core_file to a point where the files exist.\n\nTested on x86_64-linux.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9f1f9eb377ce661e1a31bca9a4d5f4e692adbfd4",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.python/py-missing-objfile.exp",
      "new_id": "2f54f618cf0b5580e18f8cd5881e12d77a93cfd5",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-missing-objfile.exp"
    },
    {
      "type": "modify",
      "old_id": "b502e0c7de3c7211378741da477bc68e1eebabf6",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/lib/gdb.exp",
      "new_id": "8dc03231a104bef105f1a786fd6a465189d7195e",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/lib/gdb.exp"
    }
  ]
}
