)]}'
{
  "commit": "ed6cd15957b80502410b771e080a88b2e4c949dd",
  "tree": "1a13d3fffc9bfa1a726641cb7e5b3e2494d92cf6",
  "parents": [
    "66984afd29ea9bad2155ed21098437a71208a106"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Mon Oct 10 14:44:40 2022 +0200"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Mon Oct 10 14:44:40 2022 +0200"
  },
  "message": "[gdb/testsuite] Fix error message for cmd with trailing newline\n\nI noticed that the error message in gdb_test_multiple about trailing newline\nin a command does not mention the offending command, nor the word command:\n...\n    if [string match \"*\\[\\r\\n\\]\" $command] {\n        error \"Invalid trailing newline in \\\"$message\\\" test\"\n    }\n...\n\nFix this by using instead:\n...\n        error \"Invalid trailing newline in \\\"$command\\\" command\"\n...\n\nAlso add a test-case to trigger this: gdb.testsuite/gdb-test.exp.\n\nTested on x86_64-linux.\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2ce8eb31d73f037e67ed3a31cf64e1a56b1800dd",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.testsuite/gdb-test.exp"
    },
    {
      "type": "modify",
      "old_id": "ae3a46cd4ce8bef475e39e9b5067d95f76a54751",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/lib/gdb.exp",
      "new_id": "5f0acfaa53055ded481e8593f3b124af1a517c9a",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/lib/gdb.exp"
    }
  ]
}
