)]}'
{
  "commit": "41439185cd0075bbb1aedf9665685dba0827cfec",
  "tree": "a4dcab5c737f986a81628e5be6349d2e7c7fb8a1",
  "parents": [
    "6fe8aea3c0b848cfca8a9dbeb6df42d51af2b18c"
  ],
  "author": {
    "name": "Nils-Christian Kempke",
    "email": "nils-christian.kempke@intel.com",
    "time": "Fri May 20 10:25:57 2022 +0200"
  },
  "committer": {
    "name": "Ijaz, Abdul B",
    "email": "abdul.b.ijaz@intel.com",
    "time": "Fri Sep 08 00:35:18 2023 +0200"
  },
  "message": "testsuite, fortran: adapt tests for ifort\u0027s \u0027start\u0027 behavior\n\nThe modified tests array-slices-bad.exp and vla-type.exp both set a\nbreakpoint at the first real statement in the respective executables.\n\nNormally, the expected behavior of fortran_runto_main for these would be\nthe stopping of the debugger at exactly the first statment in the code.\n\nStrangely, neither gfortran nor ifx seem to do this for these tests.\nInstead, issuing \u0027start\u0027 in ifx (for either of the 2 tests) lets GDB\nstop at the \u0027program ...\u0027 line and gfortran stops at a variable\ndeclaration line.  E.g. for vla-type it stops at\n\n  41        type(five)               :: fivearr (2)\n\nSo, actually, ifort\u0027s behavior can be considered to be a bit more\n\u0027correct\u0027 here.  This patch remove the fortran_runto_main in the\ntwo tests and instead uses runto to directly run to the first breakpoint\nset at the first program statement.  This works with both compiler\nbehaviors and makes the tests more robust.\n\nApproved-by: Kevin Buettner \u003ckevinb@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3f8e4434e2286573c202d44376c034f0f9715053",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.fortran/array-slices-bad.exp",
      "new_id": "d7b006945392a835b5bca6668ff2b77cf79933c1",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.fortran/array-slices-bad.exp"
    },
    {
      "type": "modify",
      "old_id": "5a60cdff2f37244f53f8e89b2b118b55ef81479e",
      "old_mode": 33261,
      "old_path": "gdb/testsuite/gdb.fortran/vla-type.exp",
      "new_id": "a7c9a650c0aea154ad0ed5c3e62563e1a5bf8f50",
      "new_mode": 33261,
      "new_path": "gdb/testsuite/gdb.fortran/vla-type.exp"
    }
  ]
}
