)]}'
{
  "commit": "b19f4f61785c8bf81b6a4a3dada9c446998aad35",
  "tree": "5acb0ba8ac24018102db7808034d28899e465e77",
  "parents": [
    "1eeb0316304f2d4e2c48aa8887e28c936bfe4f4d"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Mon Jan 03 15:36:36 2022 +0100"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Mon Jan 03 15:36:36 2022 +0100"
  },
  "message": "[gdb/testsuite] Handle for loop initial decl with gcc 4.8.5\n\nWhen running test-case gdb.threads/schedlock-thread-exit.exp on a system with\nsystem compiler gcc 4.8.5, I run into:\n...\nsrc/gdb/testsuite/gdb.threads/schedlock-thread-exit.c:33:3: error: \\\n  \u0027for\u0027 loop initial declarations are only allowed in C99 mode\n...\n\nFix this by:\n- using -std\u003dc99, or\n- using -std\u003dgnu99, in case that\u0027s required, or\n- in the case of the jit test-cases, rewriting the for loops.\n\nTested on x86_64-linux, both with gcc 4.8.5 and gcc 7.5.0.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4a894d7ecf80ef5a8305ee5685d3bc8f4b31787f",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/inferior-args.exp",
      "new_id": "691ce0ae8843e6d9854277d054be53249df526a4",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/inferior-args.exp"
    },
    {
      "type": "modify",
      "old_id": "80dfd0c4024e8522bd7461aea9781e3bddae6bb0",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/jit-elf-util.h",
      "new_id": "419a781f86590698836701fbce17aba7ddd18a58",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/jit-elf-util.h"
    },
    {
      "type": "modify",
      "old_id": "bd6a352a8c348d43179301e4a348fa5ec012f467",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/run-attach-while-running.exp",
      "new_id": "ee67db7caa5e4e8792ac7af746fbda35b5f24d8c",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/run-attach-while-running.exp"
    },
    {
      "type": "modify",
      "old_id": "e4d976493e941465e69b4cae9606d2d7a60ae281",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.mi/interrupt-thread-group.exp",
      "new_id": "8661d573cfe21afe0585f9f8be25ec1715499d71",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.mi/interrupt-thread-group.exp"
    },
    {
      "type": "modify",
      "old_id": "864f6b6674341a8ed06824d7f3a2a73c9a3d92d3",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.python/py-format-string.exp",
      "new_id": "4c78bed120324489d4ba6fa954924edba0e9b66a",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-format-string.exp"
    },
    {
      "type": "modify",
      "old_id": "99c8705f966345bf7c4af2a33eda127fcb796ecb",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.threads/multiple-successive-infcall.exp",
      "new_id": "c76d366e7a250e93203ca4efb60ac5d8093e135f",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/multiple-successive-infcall.exp"
    },
    {
      "type": "modify",
      "old_id": "e698bb46b050c139fa79b811fbaca061a8e53087",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.threads/schedlock-thread-exit.exp",
      "new_id": "a6e6d33f4bffe541b0ddafd72ca96def3681e1a8",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/schedlock-thread-exit.exp"
    }
  ]
}
