)]}'
{
  "commit": "cf2ad3e66286c9f3dc8cb6cf74a2af761cb7a49f",
  "tree": "1ca193b0919b1e3f10f629e8874ceec982376ff3",
  "parents": [
    "1992e26ec4498bdd08fa960b449f6fa29e5759fa"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Wed Oct 06 11:26:38 2021 +0200"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Wed Oct 06 11:26:38 2021 +0200"
  },
  "message": "[gdb/testsuite] Fix FAIL in gdb.tui/corefile-run.exp\n\nWhen running test-case gdb.tui/corefile-run.exp on openSUSE Tumbleweed,\nI run into:\n...\nPASS: gdb.tui/corefile-run.exp: load corefile\nFAIL: gdb.tui/corefile-run.exp: run until the end\n...\n\nWhat\u0027s going on is easier to see when also doing dump_screen if\ncheck_contents passes, and inspecting state at the preceding PASS:\n...\n +-------------------------------------------------------------------------+\n exec No process In:                                           L??   PC: ??\n [New LWP 16629]\n [Thread debugging using libthread_db enabled]\n Using host libthread_db library \"/lib64/libthread_db.so.1\".\n Core was generated by `/data/gdb_versions/devel/build/gdb/testsuite/output\n s/gdb.tui/corefile-run/corefi\u0027.\n Program terminated with signal SIGTRAP, Trace/breakpoint trap.\n #0  main ()\n --Type \u003cRET\u003e for more, q to quit, c to continue without paging--\n...\n\nThe problem is that we\u0027re getting a pagination prompt, and the subsequent run\ncommand is interpreted as an answer to that prompt.\n\nFix this by:\n- detecting the gdb prompt in response to \"load corefile\", such that\n  we detect the failure earlier, and\n- doing a \"set pagination off\" in Term::clean_restart.\n\nTested on x86_64-linux.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f000ff6a93a89fc4c053c57c746b8a37efdf6e82",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.tui/corefile-run.exp",
      "new_id": "d3eaaaf4af90e9aacb7b7ecba306f2d893938034",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.tui/corefile-run.exp"
    },
    {
      "type": "modify",
      "old_id": "149b7515d4958f6b04e74cc06ea0d3c01836c3b1",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/lib/tuiterm.exp",
      "new_id": "8ab8d07b54595a48380c2aa97fcd6b914ffcf6f3",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/lib/tuiterm.exp"
    }
  ]
}
