)]}'
{
  "commit": "c5a5f322a4e50fbfb303874671ab541757a941cf",
  "tree": "113cd87a1774c80768da195d971063625417f7fe",
  "parents": [
    "131287d950a8cbd6e60eba2a9397a94a6d1a8697"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Thu Mar 30 13:26:13 2023 +0100"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Thu Apr 27 13:56:36 2023 +0100"
  },
  "message": "gdb/testsuite: use \u0027return\u0027 in gdb_test_no_output\n\nA TCL proc will return the return value of the last command executed\nwithin the proc\u0027s body if there is no explicit return call, so\ngdb_test_no_output is already returning the return value of\ngdb_test_multiple.\n\nHowever, I\u0027m not a fan of (relying on) this implicit return value\nbehaviour -- I prefer to be explicit about what we are doing.  So in\nthis commit I have extended the comment on gdb_test_no_output to\ndocument the possible return values (just as gdb_test does), and\nexplicitly call return.\n\nThis should make no different to our testing, but I think it\u0027s clearer\nnow what the gdb_test_no_output proc is expected to do.\n\nThe two tests gdb.base/auxv.exp and gdb.base/list.exp both rely on the\nreturn value of gdb_test_no_output, and continue to pass after this\nchange.\n\nI also spotted that gdb.base/watchpoint.exp could be updated to make\nuse of gdb_test_no_output, so I did that.\n\nReviewed-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "28276681afc42792ac6338d4647968d6e25315c4",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.base/watchpoint.exp",
      "new_id": "917439e2131c37a8daa62cbaf65c6c96afc3261e",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.base/watchpoint.exp"
    },
    {
      "type": "modify",
      "old_id": "d30e2a5e6c7cf95a0c25de99bdb088f2277a3fa8",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/lib/gdb.exp",
      "new_id": "5dc79452a4b34d838166bcaf802d45973076563f",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/lib/gdb.exp"
    }
  ]
}
