)]}'
{
  "commit": "3f7c685f26df75ee3822a3629b2794deafdf881f",
  "tree": "0b33fd3ed956343c1b4932298c77a060ed6b6655",
  "parents": [
    "82f3f381fb8940afe3f6148b3010144d6c8ba2fd"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Sun Aug 17 08:32:13 2025 +0200"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Sun Aug 17 08:32:13 2025 +0200"
  },
  "message": "[gdb/testsuite] Handle remote host in some test-cases\n\nI ran test-case gdb.base/default.exp with make-check-all.sh, and noticed a\nFAIL with host/target board local-remote-host-native:\n...\nFAIL: $exp: show convenience ($_colorsupport \u003d \"monochrome\" not found)\n...\n\nThe problem is that part of the test-case relies on \"setenv TERM dumb\", and\nsetenv, which is a tcl command (which runs on build), only has effect in gdb\n(which runs on host), if build \u003d\u003d host, in other words, local host.\n\nI grepped for test-cases using setenv, and ran them with the host/target\nboard, and fixed the FAILs I saw.\n\nAll FAILs have the same cause as I described above, except for\nproc test_data_directory in gdb.python/py-parameter.exp, which handles files\nassuming local host.  I chose to leave it that way, and bail out but add a\ncomment.\n\nImplementationwise, the change to test-case gdb.base/default.exp is the most\nintrusive: it replaces a use of proc gdb_test_list_exact with a use of proc\ngdb_get_lines_no_pass, because it allows specifying a regexp match.\n\nIn the process, I found out gdb_test_list_exact has a bug, filed as PR33038.\n\nBecause of this bug, I had to add matching of convenience variable $_tbl.\n\nTested on x86_64-linux.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "01e3cc12bd3ef5dfc82f6d28717f8db34b734366",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/default.exp",
      "new_id": "50fae7cd55ff36805039434571aee3f1351dfb14",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/default.exp"
    },
    {
      "type": "modify",
      "old_id": "3f98e133dd3cd317798621d0e6d59f9ab20c0738",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/readline-ask.exp",
      "new_id": "2948970b7061362526c256fa0d6659bd56ce33b3",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/readline-ask.exp"
    },
    {
      "type": "modify",
      "old_id": "198d686df06ca1537cec4933e70161eee3aafcb3",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/readline.exp",
      "new_id": "9b87790f62e3f2456bb9208a774e8246f53d5ce3",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/readline.exp"
    },
    {
      "type": "modify",
      "old_id": "a6c18d34269353decd03a25301ac436d6c38b76d",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/style.exp",
      "new_id": "6b1b08e9d5effc0fee51e533380dce0412c6c3da",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/style.exp"
    },
    {
      "type": "modify",
      "old_id": "e35428a8495281308ed8cd06b1fe5670bc531ed0",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.guile/scm-parameter.exp",
      "new_id": "0ee11e653e320912e10085536d6d181b415c3b0e",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.guile/scm-parameter.exp"
    },
    {
      "type": "modify",
      "old_id": "214c570724aeda089962f3ee034e57b444288aac",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.python/py-parameter.exp",
      "new_id": "e676925af445534e01f88bc7995ff0a9e096613e",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-parameter.exp"
    }
  ]
}
