)]}'
{
  "commit": "47b8bb38fcb8ea1df70a932f7fe9fedca8993ec7",
  "tree": "a44e743892c5cac4e15371112ed326cadd9e58f3",
  "parents": [
    "4daa9f295d07917610f0972e0cd45df8c51e69a2"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Sat Mar 26 13:41:33 2022 +0000"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Tue Mar 29 14:39:58 2022 +0100"
  },
  "message": "gdb/testsuite: fix test failure when building against readline v7\n\nThe test added in the commit:\n\n  commit a6b413d24ccc5d76179bab866834e11fd6fec294\n  Date:   Fri Mar 11 14:44:03 2022 +0000\n\n      gdb: work around prompt corruption caused by bracketed-paste-mode\n\nWas not written with readline 7 in mind, only readline 8+.  Between\nreadline 7 and 8 the escape sequence used to disable bracketed paste\nmode changed, an additional \u0027\\r\u0027 character was added to the end.  In\nfact, it was the addition of this \u0027\\r\u0027 character that triggered the\nissue for which the above commit is part of the solution.\n\nAnyway, the test tries to spot the case where the output from GDB is\nnot perfect, but does have the above work around applied.  However,\nthe pattern in the test assumes that the problematic \u0027\\r\u0027 will be\npresent, and this is only true for readline 8+.  With readline 7 the\ntest was failing.\n\nIn this commit I generalise the pattern a little so that the test will\nstill KFAIL with readline 7.\n\nIt\u0027s a little unfortunate that the test is KFAILing with readline 7,\nas without the problematic \u0027\\r\u0027 there\u0027s actually no reason that GDB\ncouldn\u0027t \"do the right thing\" in this case, in which case, the test\nwould PASS, but that would require changes within GDB itself.\n\nMy preference then is that initially we patch the test to get it\nKFAILing, then in a separate commit I can modify GDB so that it can\nPASS with readline 7.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d604d029974a86809ec6fff90e1a2db5765de2ec",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/eof-exit.exp",
      "new_id": "2d9530ccebe9584314f28c5aed37f7af656816b8",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/eof-exit.exp"
    }
  ]
}
