)]}'
{
  "commit": "e59d0ad9bf8dfc4002835c8eee9e70e951c63d64",
  "tree": "aa0b56a8f00208c4fc33f9739a89b20084feae9d",
  "parents": [
    "8fd5a6058fc14e1d460fa166457f949e23e50b5f"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Wed Nov 29 15:26:18 2023 +0000"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Fri Dec 08 18:06:26 2023 +0000"
  },
  "message": "gdb/testsuite: fix gdb.ada/complete.exp timeout in READ1 mode\n\nWhile reviewing another patch I spotted a timeout in\ngdb.ada/complete.exp when testing in READ1 mode, e.g.:\n\n  $ make check-read1 TESTS\u003d\"gdb.ada/complete.exp\"\n  ...\n  FAIL: gdb.ada/complete.exp: complete break ada (timeout)\n  ...\n\nThe problem is an attempt to match the entire output from GDB within a\nsingle gdb_test_multiple pattern, for a completion command that\nreturns a large number of completions.\n\nThis commit changes the gdb_test_multiple to process the output line\nby line.  I don\u0027t use the gdb_test_multiple -lbl option, as I\u0027ve\nalways found that option backward -- it checks for the \\r\\n at the\nstart of each line rather than the end, I think it\u0027s much clearer to\nuse \u0027^\u0027 at the start of each pattern, and \u0027\\r\\n\u0027 at the end, so that\u0027s\nwhat I\u0027ve done here.\n\n.... Or I would, if this test didn\u0027t already define $eol as the end of\nline regexp ... except that $eol was set to \u0027[\\r\\n]*\u0027, which isn\u0027t\nthat helpful, so I\u0027ve updated $eol to be just \u0027\\r\\n\u0027 the actual end of\nline regexp.\n\nAnd now, the test passes without a timeout when using READ1.\n\nThere should be no change in what is tested after this commit.\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9e9250545e95a65055ed4c03cd452d9736625f86",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.ada/complete.exp",
      "new_id": "a73a012d1cc79bd6da555a5691d4b72d6214302d",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.ada/complete.exp"
    }
  ]
}
