)]}'
{
  "commit": "55c3ad8801359ecb166ff3c04c3bd14140f623a1",
  "tree": "a6b98540e067618712389489ca256ced78ad7649",
  "parents": [
    "ae9d2233e61a98ff8dba56be10219aa5306ffc9a"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Mon Oct 26 16:05:15 2020 +0100"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Mon Oct 26 16:05:15 2020 +0100"
  },
  "message": "[gdb/testsuite] Prevent pagination in GDB_INTERNALFLAGS\n\nWhen running test-case gdb.base/corefile.exp with target board readnow, we run\ninto:\n...\nReading symbols from outputs/gdb.base/corefile/corefile...^M\nExpanding full symbols from outputs/gdb.base/corefile/corefile...^M\n[New LWP 2293]^M\nCore was generated by `outputs/gdb.base/corefile/co\u0027.^M\nProgram terminated with signal SIGABRT, Aborted.^M\n--Type \u003cRET\u003e for more, q to quit, c to continue without paging--\\\n  FAIL: gdb.base/corefile.exp: (timeout) starting with -core\n...\n\nIn commit bd447abb24 \"Make gdb.base/corefile.exp work on terminals with few\nrows\", pagination (in the same test-case) is prevented using:\n...\nset stty_init \"rows 25 cols 80\"\n...\nbut this doesn\u0027t work in our case because using -readnow adds an extra line\n\"Expanding full symbols\".\n\nThe test passes when increasing rows to 26.  However, increasing the rows by\nsome n only fixes the problem for n lines, and things will break again if\nsomehow we end up with n + 1 lines.\n\nInstead, fix this by setting heigth and width in INTERNAL_GDBFLAGS.  This\nsolution was not chosen in commit bd447abb24 because it doesn\u0027t handle\npagination due to the introduction text.  But it does handle the pagination\ndue to the extra \"Expanding full symbols\", and any other line printed during\nand after file loading.\n\nTested on x86_64-linux, with and without readnow.\n\nWith -readnow, fixes timeout FAILs in gdb.base/corefile.exp and\ngdb.base/reread-readsym.exp.\n\ngdb/testsuite/ChangeLog:\n\n2020-10-26  Tom de Vries  \u003ctdevries@suse.de\u003e\n\n\t* lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "60bbd8a86967480f6521d550af5ea746d5811582",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/ChangeLog",
      "new_id": "11b0f5bf2dbbb4eb411ead4e744c169b9154ba21",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/ChangeLog"
    },
    {
      "type": "modify",
      "old_id": "f53df59f1813cc976415fd9eabee43b0de1cab11",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/lib/gdb.exp",
      "new_id": "197542eec3ba4864dbcbffcdc7b1ff9153895c27",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/lib/gdb.exp"
    }
  ]
}
