)]}'
{
  "commit": "9bde221fecaa58b1be8e8288f5ec5c202a61d23f",
  "tree": "43915d95b05d04d63424546c13bf31d632799a69",
  "parents": [
    "22546800ad34a5ac6bc90e6701de3e74bad75551"
  ],
  "author": {
    "name": "Pedro Alves",
    "email": "pedro@palves.net",
    "time": "Fri Mar 04 17:34:18 2022 +0000"
  },
  "committer": {
    "name": "Pedro Alves",
    "email": "pedro@palves.net",
    "time": "Wed Mar 16 12:12:09 2022 +0000"
  },
  "message": "Make gdb.fortran/{array-slices,lbound-ubound} work against gdbserver\n\ngdb.fortran/array-slices.exp and gdb.fortran/lbound-ubound.exp were\nrecently disabled unless testing with the native target, because they\nrely on inferior I/O.  However, when testing against gdbserver using\nthe native-gdbserver/native-extended-gdbserver boards, we do have\naccess to inferior I/O.\n\nThe right way to check whether the board can do I/O, is via checking\nthe gdb,noinferiorio board variable.  Switch to using that.\n\nAnd then, tweak the testcases to expect output to appear in\ninferior_spawn_id, instead of gdb_spawn_id.  When testing against the\nnative target, inferior_spawn_id is the same as gdb_spawn_id.  When\ntesting against gdbserver, it maps to gdbserver_spawn_id.\n\nThis exposed a buglet in gdb.fortran/array-slices.f90\u0027s show_1d\nsubroutine -- it was missing printing newline at the end of the\n\"Expected GDB Output\" text, leading to a test timeout.  All other\nsubroutines end with advance\u003dyes, except this one.  Fix it by using\nadvance\u003dyes here too.\n\nChange-Id: I4640729f334431cfc24b0917e7d3977b677c6ca5\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8f9c012e3991d15c8041cf6f8144d029c1d7a478",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.fortran/array-slices.exp",
      "new_id": "a38276c67e438970255d9730c7b7ebe5cc80c005",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.fortran/array-slices.exp"
    },
    {
      "type": "modify",
      "old_id": "ff3964ffb6b980d7a2c405d742ef58103c97fc99",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.fortran/array-slices.f90",
      "new_id": "1eaee82b7b700eed25757683ae8784c99616e4c0",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.fortran/array-slices.f90"
    },
    {
      "type": "modify",
      "old_id": "671b251c799ad6af9a9137975529c3a3a33a8937",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.fortran/lbound-ubound.exp",
      "new_id": "709b74a69e80527eb072c3eb33316f5bca4a7757",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.fortran/lbound-ubound.exp"
    }
  ]
}
