)]}'
{
  "commit": "dc412de5e954d81dc932be7fa7c2edda992de096",
  "tree": "c49756afbe893127cc23065d8cf34b70bc71a219",
  "parents": [
    "85d74f293624dec19180d817436818567dc8f9b3"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Thu Sep 30 19:07:48 2021 +0200"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Thu Sep 30 19:07:48 2021 +0200"
  },
  "message": "[gdb/testsuite] Prepare nodebug exec in gdb.base/cvexpr.exp\n\nWhen running test-case gdb.base/cvexpr.exp with target board unix/-bad, I get:\n...\ngdb compile failed, gcc: error: unrecognized command line option \u0027-bad\u0027\nERROR: tcl error sourcing src/gdb/testsuite/gdb.base/cvexpr.exp.\nERROR: can\u0027t read \"use_gdb_stub\": no such variable\n...\n\nThis is triggered in a part of the test that claims to require no debug\ninformation, but uses the exec containing either dwarf or ctf.\n\nFix this by preparing another executable compiled with nodebug, and using\nthat one instead.\n\nAlso use with_test_prefix to mark the nodebug part, such that we have:\n...\ngdb compile failed, gcc: error: unrecognized command line option \u0027-bad\u0027\nUNTESTED: gdb.base/cvexpr.exp: dwarf: failed to prepare\ngdb compile failed, gcc: error: unrecognized command line option \u0027-bad\u0027\nUNTESTED: gdb.base/cvexpr.exp: nodebug: failed to prepare\n...\n\nTested on x86_64-linux.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "33ae1be03222977cccd89342d8b46a4d9e85fd94",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/cvexpr.exp",
      "new_id": "f9bb467b4f77703141532a400c8cb98947795c9d",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/cvexpr.exp"
    }
  ]
}
