)]}'
{
  "commit": "d4295de4f3d6cb24289d79c424d430b0df38db07",
  "tree": "70c71ca5bca7d0d204e69187ffb50c2e55cb7721",
  "parents": [
    "685313de6b2ae6e4b2ad32935cbb18d65ebd42ce"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Tue Feb 18 10:18:36 2020 +0100"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Tue Feb 18 10:18:36 2020 +0100"
  },
  "message": "[gdb/testsuite] Handle missing gnatmake in gnat_runtime_has_debug_info\n\nAfter de-installing gnatmake, I get on stdout/stderr:\n...\nRunning src/gdb/testsuite/gdb.base/gdb-caching-proc.exp ...\nFAIL: gdb-caching-proc.exp: failed to compile gnat-debug-info test binary\n  ...\nFAIL: gdb-caching-proc.exp: failed to compile gnat-debug-info test binary\n...\n\nIn gdb.sum, we see these FAILs (each paired with an UNSUPPORTED as well)\nfollowed by:\n...\nPASS: gdb-caching-proc.exp: gnat_runtime_has_debug_info consistency\n...\n\nLikewise, after re-installing gnatmake, I get a PASS for each of the\nUNSUPPORTEDs, and the FAILs disappear.\n\nThe FAIL comes from gnat_runtime_has_debug_info, the PASS/UNSUPPORTED comes\nfrom gdb_compile_ada.\n\nFix this by removing the corresponding fail call in\ngnat_runtime_has_debug_info, as well as using a new variant gdb_compile_ada_1\nthat doesn\u0027t call pass/unsupported.\n\nTested on x86_64-linux, with gnatmake installed and de-installed.\n\ngdb/testsuite/ChangeLog:\n\n2020-02-18  Tom de Vries  \u003ctdevries@suse.de\u003e\n\n\t* lib/ada.exp (gdb_compile_ada_1): Factor out of ...\n\t(gdb_compile_ada): ... here.\n\t(gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada\n\tfailure.  Use gdb_compile_ada_1 instead of gdb_compile_ada.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1a9203c26a253e2549740485bac527d2cd7ceac4",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/ChangeLog",
      "new_id": "e8ef3d37a8e149e82ad8ba5fe891942fcd8bce8c",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/ChangeLog"
    },
    {
      "type": "modify",
      "old_id": "9933cc951e3755b42d606991272a32747e3ddfa2",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/lib/ada.exp",
      "new_id": "6648566ec30c84f0199e7ac4b3f803a5db00508d",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/lib/ada.exp"
    }
  ]
}
