)]}'
{
  "commit": "1961e699340fc042ff2e5cbdb250694575679afe",
  "tree": "e3d065e35a0744417fc7a7c221ad46484b58653a",
  "parents": [
    "be6adf5b7597cb2eb1e7f07fbfd766a9d6ac42bb"
  ],
  "author": {
    "name": "Simon Marchi",
    "email": "simon.marchi@polymtl.ca",
    "time": "Thu Feb 20 10:13:38 2025 -0500"
  },
  "committer": {
    "name": "Simon Marchi",
    "email": "simon.marchi@polymtl.ca",
    "time": "Thu Feb 20 10:17:03 2025 -0500"
  },
  "message": "gdb/compile: add missing entry in bfd_link_callbacks array\n\nclang 19 fails to build gdb with this error:\n\n    /home/simark/src/binutils-gdb/gdb/compile/compile-object-load.c:302:3: error: cannot initialize a member subobject of type \u0027void (*)(const char *, ...) __attribute__((noreturn))\u0027 with an lvalue of type \u0027void (const char *, ...)\u0027\n      302 |   link_callbacks_einfo, /* einfo */\n          |   ^~~~~~~~~~~~~~~~~~~~\n\nThis illustrates that the bfd_link_callbacks array is missing an entry\nfor the \"fatal\" callback, add it.\n\nThe fatal field was added very recently, in d26161914 (\"PR 32603, more\nld -w misbehaviour\").  We\u0027re lucky that the new callback was marked with\nthe noreturn attribute and that clang checks that, otherwise this would\nhave gone unnoticed.\n\nChange-Id: I68b63d89f2707359e6254da23bdc0776b0e03ba2\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8b1556e8f0af08bb8a733facb517abb9d5779ce8",
      "old_mode": 33188,
      "old_path": "gdb/compile/compile-object-load.c",
      "new_id": "ef77ee305218f58582cd257bf44751b65d11273b",
      "new_mode": 33188,
      "new_path": "gdb/compile/compile-object-load.c"
    }
  ]
}
