)]}'
{
  "commit": "010278690441ef32d3c1089fa4fdfaeaf8cc49b7",
  "tree": "9f1696c4381f5caff45b824d4cea54ec8e397920",
  "parents": [
    "fa4f2d46f95a1c673b025fab7f292cb864a99020"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Wed Aug 23 19:28:37 2023 +0200"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Wed Aug 23 19:28:37 2023 +0200"
  },
  "message": "[gdb/build] Support reference return type in make-target-delegates.py\n\nWhen doing this in target.h:\n...\n-    virtual gdb::byte_vector thread_info_to_thread_handle (struct thread_info *)\n+    virtual gdb::byte_vector \u0026thread_info_to_thread_handle (struct thread_info *)\n...\nmake-target-delegates.py drops the function.\n\nBy handling \u0027\u0026\u0027 in POINTER_PART we can prevent that the function is dropped,\nbut when recompiling target.o we get:\n...\ngdb/target-delegates.c: In member function ‘virtual gdb::byte_vector\u0026 \\\n  debug_target::thread_info_to_thread_handle(thread_info*)’:\ngdb/target-delegates.c:1889:22: error: ‘result’ declared as reference but not \\\n  initialized\n   gdb::byte_vector \u0026 result;\n                      ^~~~~~\nmake: *** [Makefile:1923: target.o] Error 1\n...\n\nFix this by making sure result is initialized.\n\nRegenerate target-delegates.c using this new style.\n\nTested on x86_64-linux.\n\nApproved-By: Pedro Alves \u003cpedro@palves.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "704d3f1cb67a09a8583409a5d2aee052f4ae5efc",
      "old_mode": 33261,
      "old_path": "gdb/make-target-delegates.py",
      "new_id": "5e766e3573188b8a2f04e34443b68d16c935548e",
      "new_mode": 33261,
      "new_path": "gdb/make-target-delegates.py"
    },
    {
      "type": "modify",
      "old_id": "e4e14380181b315c97cff12bea7e60697350dee1",
      "old_mode": 33188,
      "old_path": "gdb/target-delegates.c",
      "new_id": "06f22d57c279711dfa258328c3a0daf02e7dc9b6",
      "new_mode": 33188,
      "new_path": "gdb/target-delegates.c"
    }
  ]
}
